From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't read voltage from more than one channel (DAQmx read)

I have a SCB 68A connector from National Instruments and I want to read out the noise signal from it. So I used the example code (voltage1channel.png) provided by National Instruments (https://decibel.ni.com/content/docs/DOC-28502).

 

I got 5 mV which is a reasonable value (I measured the noise signal with an oscilloscope). Now I want to read out the noise signal from few channels. So I sightly changed the VI: voltage2channels.png (according to the documentation I need to create an array of channels and flatten them): 

But now I read out approximately 200 mV on both channels (and one of them is the same as in the first VI). It doesn't make any sense.

What am I doing wrong?

 

I want the user to be able to choose the channels, so I can't just write "Dev1/ai0:4".

Download All
0 Kudos
Message 1 of 1
(3,580 Views)