LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading multiple channels in one task

Hi i am trying to read three voltage inputs in one task. I have configured the task and used generate code to get the example. But i am now getting the data from all three channels in one waveform, but i would like to work independantly on the three channels. What should i do.
0 Kudos
Message 1 of 3
(2,794 Views)
Hi vamy,

If you read all channels with AI Read, it should return an array of waveforms (not just a single waveform). You can use "Index Array" to get the waveform from each individual channel, or use "Index Waveform Array", which is basically the same operation.

Dan
0 Kudos
Message 2 of 3
(2,794 Views)
Hello Varny,

Yes. As Dan has mentioned, you can use the Index Array function to seperate out each individual waveform channel.

Regards,
Bill B
0 Kudos
Message 3 of 3
(2,794 Views)