Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

LABVIEW + Two or Three channels signal acquisitions using NI USB 6008

Hello, 

 

I try to using USB 6008 to simultaneously acquire two or three channels data, but USB 6008 has only one analog-to-digital converterSo I think I can using some shift register and clock control and take turns sampling with different channels,  also can do some interpolation during acquisition data for other channels. But I don't know how to realize it. now I realize one channel data acquisition data and write(attached vi), and two channel test (attached vi)only can one channel work since the only one ADC.

If somebody can teach me how to realize the two/three channels acquire data, even only alternate data acquisition. Thank you very much!

 

 

0 Kudos
Message 1 of 5
(2,889 Views)

1. Just set up the task to read more channels.  The device will do everything else for you.

2. For the DAQmx Read, use the Multiple Channels->Multiple Channels->Array of Waveforms instance.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(2,855 Views)

Hi  

 

0 Kudos
Message 3 of 5
(2,849 Views)

Hi 

quare wave signal connection with ai0 and ai7, the waveform graph display signal ai7 is right, the ai0 a little down shift, I don't know why?

(2). I want to separate the two channel signal, because the temperature voltage signal need some operation processing (The voltage signal is converted to the corresponding temperature value), I don't know how to separate the two channels data?

(3) I want to write the two channel data into one Microsoft excel in two columns, I don't know how to realize it?

 

Thank you very much!

 

 

 

0 Kudos
Message 4 of 5
(2,829 Views)

Hi Justin,

 

1) What is your wiring setup? Alternatively, you can use the 'Index Array' function to select the waveform you want to alter, and add a constant to it to display the correct data.

 

2) As previously mentioned, you can use the 'Index Array' function on your 2D waveform to select the desired data, or just the 'Split Signals' VI

 

3) Double click your write to measurement file and under 'X Value (Time) Columns' select 'One column per channel'

 

Best,

BrandonN

Applications Engineer

National Instruments

0 Kudos
Message 5 of 5
(2,824 Views)