LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple thermocouple inputs and reading the correct output

Solved!
Go to solution

I am trying to read two thermocouples from my NI-9211A. I have tried programming them in two different ways. The first is with two separate DAQs reading the two different inputs, ai1 and ai2. This sometimes works, but very rarely. It usually reads the same temperature from both thermocouples. The second way is with one DAQ and splitting. However, this provides two identical outputs and the incorrect temperature. How can I get this to read correctly?

 

Attached is my project VI and my DAQ VI, along with screenshots of both methods.

 

Thanks!

 

0 Kudos
Message 1 of 3
(467 Views)
Solution
Accepted by topic author parker300

Try calling just one time and type channels as Dev6/ai0:1 one function will return an array with both channels. First item channel 0 and second item channel 2.  

 

LVNinja_1-1690838490425.png

 

Message 2 of 3
(415 Views)

Helpul as always, LVNinja. Thanks!

0 Kudos
Message 3 of 3
(369 Views)