Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

AO/AI to DAQmx questions

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

Message Edited by zmarcoz on 02-19-2009 11:48 PM
====================
=Labview 7.0 & 8.0 & 8.5=
=====================
0 Kudos
Message 1 of 3
(3,258 Views)

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. 


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 3
(3,249 Views)

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 🙂

 

 

====================
=Labview 7.0 & 8.0 & 8.5=
=====================
0 Kudos
Message 3 of 3
(3,241 Views)