02-19-2009 11:46 PM - edited 02-19-2009 11:48 PM
Dear all,
I need to rewrite a program which use the traditional DAQ vi. I could not find those VI in my LabVIEW 8.5, but I need to understand the meaning of those VI to rewrite the program using DAQmx. Here are my questions
In A, what is the meaning of AO config with AO and AO1 input? Should I use two separate DAQmx Create Channel VI to replace "A" ?
Ignore B
In C, what DAQmx VI should use to replace singal update VI?
In D, what DAQmx VI should use to replace AI S-scan VI?
In E, I don't understand why Trigger config is connected with the AO write (output related). Does the Trigger config VI control the AO write??
thanks

** the jpg cannot be read directl, please click the tempa.jpg link to download the picture
02-20-2009 08:26 AM
Z-
Attempting to rewrite from traditional DAQ to DAQmx is difficult! The API's are based on totally disimilar models (and IMHO the DAQmx model should have been released earlier).
I have found it much easier to simply toss out the old DAQ code and redevelop the DAQmx from scratch. One trick I learned for doing this quickly is to use MAX to prototype a task using the test panel. Once you have a task configured to do what you want you can drop that task into LabVIEW and auto-generate LabVIEW code to duplicate the task. The task control functions are pretty straight-forward so you simply need to add the start, stop, and destroy task calls in the appropriate code sections.
02-20-2009 09:30 AM
I am redesigning the whole program. However, I don't understand the meaning of those functions at this point. Could anyone please tell me the meaning of those VI, so I can use the idea to rewrite it in DAQmx?
thanks 🙂