LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to directly read thermocouple voltage, instead of temperature from NI 9213

For calibration or other applications, I need to have voltage value of thermocouple instead of temperature. I am not sure if I can do this with NI 9213.

 

Attached is the VI I created and it doesn't work. Please help troubleshoot the problem. Thanks.

0 Kudos
Message 1 of 5
(3,494 Views)

Sorry, couldn't find your programs.

 

I tried this on my 9213s. If you use DAQ assistant, it restricts you to define thermocouple type and reading a temperature, but if you generate your code and use DAQmx read VI then you can set voltage input. Alternatively, don't use the VI you've made and use your measurement and automation program. You should be able to do it in there.

0 Kudos
Message 2 of 5
(3,481 Views)

I use DAQmx 9.2.1, http://joule.ni.com/nidu/cds/view/p/id/2174/lang/en, and can do it with DAQ Assistant.

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

I am now downloading 9.2.1.

 

I was able to do it with DAQmx Driver 9.1 and DAQ assistant. I am not sure if there is anything wrong with my code. Please refer to the attachment.

0 Kudos
Message 4 of 5
(3,455 Views)

You should put the create channel before the loop and clear task after the loop.  There is no need to continually create the channel and clear it on each every iteration of the loop every second.

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