LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to acquire a set number of points from multiple channels?

I had set up a VI to use AI ONE POINT.VI for multiple channels. Getting one data point for me is useless. I need, say, 100 data points from multiple channels at once. Is there a way to do that? Is there an example program I'm not seeing that already does that?

Thanks!
p.s. I have Labview 6.1
0 Kudos
Message 1 of 3
(2,415 Views)
There's a bunch of analog in examples. Go to Help>Find Examples and in the Browse tab, select Hardware Input and Output>DAQ>General>Analog Input. Try one like Cont Acq&Graph or Cont Acq&Chart. In the channel control, type in your channel list for multiple channels.
0 Kudos
Message 2 of 3
(2,415 Views)
Hello,

Thank you for contacting National Instruments.

As Dennis had mentioned, there are many example programs that ship with LabVIEW that demonstrate how to take measurements from multiple channels with either a finite or continuous amount of data to be acquired. In LabVIEW 6.1 you can find these examples by going to Help >> Find Examples >> Hardware Input and Output >> DAQ >> Analog Input >> General.

In these examples, if you would like to sample multiple channels, you simply need to add the physical channels separated by a comma for example: 1,3,5 would sample channels one, three, and five. You can also use a colon to sample a sequence of channels for example: 4:6 would sample channels four, five, and six. This makes it easy for you to choose the chann
els that you would like to sample without having to make any modifications to your code.

Regards,
Bill B.
Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(2,415 Views)