07-25-2008 08:08 AM - edited 07-25-2008 08:13 AM
Solved! Go to Solution.
07-25-2008 01:41 PM
07-28-2008 05:10 PM
Hi anarkie,
A direct 1:1 correlation between the two driver functions doesn't exist but there are many example programs on how to properly construct DAQmx applications. You can find many of those at C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ after installing DAQmx with C support.
As far as your counter error, this is being caused because you are creating a counter output task. Since you are performing an output you are unable to read from this. For output tasks, simply setup you task and configure what you want to be output, and then start the task. There are great examples of this in the above file location.
I would also recommend using the following article for assistance in moving over from the Traditional DAQ driver.
http://zone.ni.com/devzone/cda/tut/p/id/5957
07-31-2008 09:34 PM - edited 07-31-2008 09:35 PM
08-01-2008 03:13 PM
Hi anarkie,
I would use the DAQmxWriteDigital set of functions for a digital output task. Try looking in C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Digital\Generate Values for some great examples.