Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

analyzing two signals

Hello everybody,

I have to analyze two signals from two different inputs in parallel with DAQ card.
Should I have to use two DAQ cards? (because I receive an error message while running Labview with only one card : DAQ is reserved...)

Thanks

0 Kudos
Message 1 of 4
(3,509 Views)

You would only need two DAQ cards if the DAQ cards you are using only have a single channel and NI doesn't make single channel DAQ cards.Smiley Wink

If you are using DAQ Assistant, use only one assistant but specify two channels. If you are using the regular DAQmx functions, use a single DAQmx Read and with a single DAQmx Create Channel, have two channels in the list. The syntax would be Dev1/ai0:1. You can easily select multiple channels by clicking the arrow on the right side of the channel list control and selecting browse.

p.s. You need to post similar questions to the Multifunction DAQ forum. This forum is for instrument control (i.e. GPIB instruments).

Message 2 of 4
(3,505 Views)
Thanks for your answer,
my DAQ support more than an input.
I'm using DAQ max, if I well understand I must specifie two inputs examplt dev1->a0 and dev1->a1 using only one DAQ max and not two like i'm trying now.
I will try it tomorrow.

p.s. next time I will post in DAQ multifunction.

Message 3 of 4
(3,495 Views)
No. Your example is not correct. If you use '->', you will get an error. The correct syntax is Dev1/ai0:1 as I said. If you want non-consectutive channels, it is Dev1/ai0,Dev1/ai2 for example.
Message 4 of 4
(3,487 Views)