Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I link a Thermocouple VI and a Digital VI

 
I need a VI that takes the voltage/temperature from a thermocouple and in turn controls the on/off switch of a heater.  Basically the heater will return a fluid to its original temperature after being altered.  From the examples in Labview, I was able to find a thermocouple VI and digital VI, but I need help in linking the two VI's together.  Thanks.
 
- Shack
0 Kudos
Message 1 of 2
(2,971 Views)

Hello Shack,

It would be helpful if you mention what hardware you are using.  If you are using a DAQ device that is compatible with NI-DAQmx, I suggest you use this driver to program with.  You can see the compatibility of hardware and driver software at http://www.ni.com/support/daq/versions.htm by choosing the bus type of your hardware.  There are NI-DAQmx examples installed in the Example Finder. 

I believe you will probably want you program to be setup so that it takes one measurement from your thermocouple and then compares that value to something that you specify and depending on the outcome of that comparison, turns on or turns off the heater.  You will need this done many times so you will probably want to use a while or for loop to make your code run over and over again.  If you get working on this and want to post your code, we will be happy to take a look at it and offer suggestions.

Thanks,

Laura

0 Kudos
Message 2 of 2
(2,945 Views)