LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Thermocouple 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. Thanks in advance.
0 Kudos
Message 1 of 9
(4,087 Views)
You probably already have what you need by using a combination of Examples that ship with LabVIEW.

Look for one that reads a thermocouple and for one that controls a digital line (if that's what you're switching). Then add the digital code to the thermocouple code and switch the line when the temperature goes above/below what's being read.

Have a shot at this and let us know how you make out.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 9
(4,065 Views)

In LabVIEW use Help -> Find Example and then select search tab and search for Temperature.  There are many good examples there how to take and display temperature.

Matt

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 3 of 9
(4,064 Views)

Okay guys I have found the appropriate thermocouple VI to feed the temperature into LabView, but I see a few different switch VI's to link to it...the relay switch looked most appropriate, but still didn't look correct.  Any ideas?

Thanks

0 Kudos
Message 4 of 9
(4,045 Views)
What are you using to control the switch?  Digital I/O?
Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 5 of 9
(4,037 Views)
Correct
0 Kudos
Message 6 of 9
(4,036 Views)
If you're talking about the Express VI called Relay, you're looking at the wrong example. This function does not control any hardware. It is used to connect/disconnect a signal in software on or off. You need to look at the hardware examples and what you use depends on what hardware you have. For example, you can use a digital signal from DAQ board to control a relay. I'm assuming that you have an NI DAQ board to measure the temperature and most have at least 1 digital port. Look at the Hardware Input and Output>DAQmx>Digital Generation examples. You should also know that the current and/or voltage capability of a digital line is often not enough to directly turn on a relay. You may need a driver between the digital output and the relay coil.
0 Kudos
Message 7 of 9
(4,033 Views)

Search examples for digital.  There are a bunch of Digital I/O examples that start with: ""Write to 1 Dig Line (xxxx)" where xxxx is the product model number you are using.

Matt

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 8 of 9
(4,029 Views)

Reposting response, somehow my answer got posted before the question:

 

Search examples for digital.  There are a bunch of Digital I/O examples that start with: ""Write to 1 Dig Line (xxxx)" where xxxx is the product model number you are using.

Matt

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 9 of 9
(4,017 Views)