02-12-2018 09:17 AM
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)?
02-12-2018 11:44 AM
Dunno if this does exactly what you want but:
http://zone.ni.com/reference/en-XX/help/370469AC-01/daqmxprop/attr1823/
02-12-2018 12:06 PM
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.
02-12-2018 12:39 PM
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?