LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Analog Input

I want to acquire analog data from multiple channels with different rates
(e.g.: channel 0: 1000Hz, channel 2: 20000 Hz, channel 3: 10000 Hz etc). The
method I want to use is hardware-timed, buffered and continous acqusitation.

Thanks for any hint.
Philipp Pischke
0 Kudos
Message 1 of 3
(3,135 Views)
Philipp;

At this point, you can't do that.
You can only configure all your channels to acquire analog input on your device once until you clear the analog operation and configure again. You read in one buffer with all the channels that you specified for your configuration. You can parse out each channel's data as a separate array after AI Read has returned the data to LabVIEW, if you like, as I mention below. Since you only have one scan clock, you can only scan all the channels at the same scan rate (disregarding tricks, such as specifying channel 1 multiple times in your channel string). You can only have one start trigger for all your channels or none. You may be able to use the trick below. Thus, you cannot configure channels 0 and 1 and have that run at the same time
as configuring channels 2 and 3 to run. The only true way to have multiple buffers returned from DAQ to LabVIEW or whatever software you are using is to buy multiple boards.

You can acquire from all your channels as well as the external triggers and save all that information in the buffer. Then, you can index the buffer to extract each channel's data, using the data from the trigger channels. This is especially nice with LabVIEW 6 where the waveform data type has the timestamped information. You can still take advantage of the analog hardware trigger circuitry of the DAQ board by letting the first trigger signal start the entire acquisition. Then, acquire from the other triggers as well, to know where to start extracting for the other channels.
Hope this helps.

Filipe Altoe
Application Enginner
National Instruments
0 Kudos
Message 2 of 3
(3,135 Views)
In which order are the data acquired if I specify channels more than once in
my channel list ?!?



Thanks, Philipp
0 Kudos
Message 3 of 3
(3,135 Views)