07-19-2005 04:48 AM
07-20-2005 11:20 AM
Hi ajmal-
The NI-DAQmx driver is multi-thread safe. The Traditional NI-DAQ and NI-DAQmx Base drivers are not.
That being said, it is possible for the NI-DAQmx driver to access the same board through multiple threads at the same time. It is NOT possible to run multiple threads (or even multiple tasks in the same thread) of the same type of operation at the same time. So, all analog input operations must be in the same thread and task. The same restriction applies to analog output operations.
Examples for ANSI C and NI-DAQmx are available in this location on your hard drive "C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C." You will need to follow these methods and the methods outlined in the DAQmx C Function Reference Help file that installs with the NI-DAQmx driver.
I hope this helps-
07-21-2005 01:55 AM
07-21-2005 05:57 PM