LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Temperature control using case structure

I am in the process of creating a program which will aquire a signal (temperature) from a thermocouple, determine whether this is above a required maximum temperature (if this is true then i would like to initiate a case which switches off a heater output), or if the temperature is below a required minimum temperature (if this is true then i would like to initiate another case which will switch the heater on. I have attached the .vi which contains the basis of what I am trying to do but would greatly appreciate some advice as I am relatively new to this. Ps. I have researched A LOT and cannot find a method for this.

Download All
Message 1 of 5
(3,403 Views)

Hi ,

 

hope this VI would help for you.

 

Regards,

Murali

CLA

*Kudos are Welcome*

Message 2 of 5
(3,364 Views)

Hi,

 

some small changes to the VI:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 5
(3,340 Views)

Hi, 

thanks a lot for a pointer in the right direction! exactly what i was looking for.

However, what is the icon that the max/min temps are connected into?

One last question, instead of strings to indicate whether the heater is on or off, is it possible to replace these with the physical output itself, or a function which will trigger this?

Thanks againSmiley Happy

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

Hi Bloke,

 

that function is InRangeAndCoerce, to be found on the comparison palette.

 

Yes, you can include your DAQ outputs here. I guess you want to use some digital outputs using boolean values…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 5
(3,315 Views)