LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Split input channels to DAQmx read

I am not sure if this question has been answered before, but I would like to know if you can specify all the channels read from DAQ but read few of them every loop?

Imagine we feed all the channels to the while loop where DAQread acquires signals continuously, but then specify a true/false statement for the DAQread to read channels 0-3 in the first loop (or second) and 4-7 in the second loop (and repeat)?

0 Kudos
Message 1 of 4
(2,634 Views)

Dunno if this does exactly what you want but:

http://zone.ni.com/reference/en-XX/help/370469AC-01/daqmxprop/attr1823/

0 Kudos
Message 2 of 4
(2,617 Views)

Just go ahead and read all of the channels and then use a FOR loop or Index Array to reduce to the channels you want.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 4
(2,610 Views)

I have done that to plot my results and save the arrays individually. However, my problem is that due to the computer/DAQ interface, the read speed is very low. So I have to find a way to read the first 3 channels with 10 kHz sampling rate and the next 4 with 100 sampling rate. If this possible using a true/false statement?

0 Kudos
Message 4 of 4
(2,601 Views)