Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ-MX version of Traditional Ni-DAQ's "AO Control.vi" iteration parameter?

I'm trying to convert some existing LabVIEW code for synchronized AO, AI, and DO on PXI-6115/6120 cards from traditional NI-DAQ to DAQ-MX. In the existing code I have used the "iterations" parameter on the "AO Control.vi" in order to repeatedly output the same analog buffer a finite number of times.


How do I do the same thing with DAQ-MX? I don't see a corresponding "iterations" parameter.

0 Kudos
Message 1 of 3
(2,893 Views)
Hello Martin,
Most Traditional (Legacy) NI-DAQ functions do not have direct one-to-one NI-DAQmx replacements.  So you might not be able to program in exactly the same way.  I would like to point you to some really good resources though.  First, the example finder in LabVIEW.  Go to Help>>Find Examples.  Navigate to Hardware Input and Output>>DAQmx>>Synchronization>>Multi-Function.  There are several good synchronization examples there.  You might have to combine a couple of them to get what you are looking for.  Additionally here are some white papers that might be helpful:

Transition from Traditional NI-DAQ to NI-DAQmx

Timing and Synchronization Features of NI-DAQmx


Hope this helps!
-Alan A.
0 Kudos
Message 2 of 3
(2,879 Views)
Thanks for the links Alan.

I actually got the answer I was looking for from Maciaela N. in the LabVIEW forum...

To generate a finite number of iterations of a buffer in DAQmx you set the "sampler per channel" property of the DAQmx Timing VI to your (number of iterations) X (number of samples per channel in the buffer). 

Simple enough. Why didn't I think of that.

0 Kudos
Message 3 of 3
(2,852 Views)