LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Logging Multiple Thermocouples

Solved!
Go to solution

Hi Everyone,

 

I'm trying to monitor 4 Thermocouples simultaneously using a cDAQ-9174 and a NI 9211 thermocouple module. I'm very new to LabView. I found a VI that appears to do what I want elsewhere on the forum (I'll attach it), but I can't seem to make it work beyond recognizing the first channel of data. 

 

I'm thinking I may be missing something simple when it comes to selecting the analog inputs fort the VI, in order to get all four channels working.

 

I'm also open for suggestions of a better example VI that can log 4 thermocouple readings simultaneously.

 

Thanks for your help!

0 Kudos
Message 1 of 5
(4,028 Views)

How are you specifying the thermocouple channels?  The VI you have will work as long as they are specified correctly.  It should be something like "cDAQ1Mod1/ai0:3".

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

I think that may be the problem --I don't know how to specify channels. I can get the first graph to work with each of the four thermocouple input channels, but I can't get them to work simultaneously, as the input selector only appears to control the first graph/display.

0 Kudos
Message 3 of 5
(4,007 Views)
Solution
Accepted by Graham123

You've got to type the ":3" at the end of the channel.  Pick channel 0 from the list then add the ":3" to it.  That tells DAQmx that you want channels 0 through 3.  I have slightly different hardware (a 9213 instead of 9211) but your VI read the first 4 thermocouples I've got connected and plotted them in the first four stacked graphs.

Message 4 of 5
(3,987 Views)

Thanks so much! That worked for me.

0 Kudos
Message 5 of 5
(3,946 Views)