Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

'CAN Sync Start with NI-DAQmx' VI Does Not Work Properly with a Series 2 PCMCIA-CAN Card.

Hardware: Industrial Communications>>CAN

Problem:
When I try to run a VI that uses the CAN Sync Start with NI-DAQmx.vi to synchronize a Series 2 PCMCIA-CAN card with another DAQ device, I get error -200077 from the DAQmx driver, indicating that one cannot generate a Counter Pulse Frequency of 10 MHz.

Solution:
There is a bug in the 'CAN Sync Start with NI-DAQmx' VI, that causes the mentioned error as the syntax to generate a 10 MHz signal on the FREQ_OUT output is incorrect. As this VI is used in all examples that demonstrate synchronization of NI-CAN’s Channel API and NI-DAQmx, those examples will cause the above mentioned error, if executed on Series 2 PCMCIA-CAN hardware.

This bug has been fixed in NI-CAN version 2.6.x.  The recommended solution to this error occurring is to upgrade to NI-CAN 2.6.x. 

If upgrading is not an option, you can follow the workaround below.

Attached you can find a compressed archive that contains a new version of the nicantsk.llb file. Once you extracted the nicantsk.llb file from the archive, copy it to the following folder and replace the existing file: labview\vi.lib\nican\

The attached fix also allows synchronization between a Series 2 PCMCIA-CAN card and USB DAQ devices that are controlled through NI-DAQmx and provide a START TRIG input and a FREQ_OUT output signal (like the NI DAQPad-6015/6016 series).

The complete error message from the DAQmx driver, when 'CAN Sync Start with NI-DAQmx' VI is executed on a Series 2 PCMCIA-CAN card, is:
"Error -200077 occurred at Property Node DAQmx Channel (arg 2) in DAQmx Create Channel (CO-Pulse Generation-Frequency).vi->CAN Sync Start Series 2 with NI-DAQmx.vi->CAN Sync Start with NI-DAQmx.vi->CAN Waveform Input and DAQmx Waveform Input.vi"

Related Links:
Drivers and Updates: NI-CAN 2.6.1

Attachments:


nicantsk.zip


Report Date: 11/29/2004
Last Updated: 03/27/2009
Document ID: 3FSAAUHR

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit