LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Monitoring Analog Input Channel from array

 I have DAQmx Create Channel setup for AI Voltage, and configured to NRSE.  I am using DAQmx to Aquire 11 Analog input Channels (AI0:10).  I would like to monitor 2 channels, Analog In Ch. 9, and Analog In Ch. 10.  DAQmx  Read is setup for Analog 2D DBL NChan NSamp. My question is....do I use Index Array function to pull the channel from the data array?  With the index row terminal set for the channel 9 or 10? And the index col set to 0?  Thanks
0 Kudos
Message 1 of 2
(2,243 Views)
Hi TMDATA,

If you try just taking a quick look and only acquiring 2 channels you will see that the data comes out in rows.  Use the Index Array function to pull out whatever row it is that you want and leave the disable column index blank.  That will pull out whatever row it is that you want.  You can use that function once for each row you want, or if you want multiple rows of data, then you could use the Array Subset function.

Regards,
0 Kudos
Message 2 of 2
(2,235 Views)