LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2 channels data acquisition sychronized with analog output

My labview program can generate 1kHz sine wave and acquire one channel
analog input simultaneouly. Now I modified it for acquiring two
channel voltage signal by adding channels in analog config vi. The
program sometimes can get the right analog input and sometimes can't.
Can someone suggest solutions for this?

Thank you in advance.

Jian
0 Kudos
Message 1 of 2
(2,609 Views)
Hello Jian,

Thank you for contacting National Instruments.

What version of LabVIEW are you using? If you aren't using 7.0 and DAQmx, multithreading is not supported. With DAQmx, different channels can acquire analog inputs from your device simultaneously. If you are using NI-Traditional DAQ, there is no guarantee of the order in which the inputs are acquired.

Try using DAQmx to acquire your inputs and see if that solves your problem.

Let me know if this does not work.

Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,609 Views)