LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Temperature control using labVIEW

Solved!
Go to solution

Hi there! Need some help here!

I am currently  involved in a project that requires me to control the temperature using a power source to a heater and a DAQ to a thermocouple. If the temperature of the heater rise above the set point after providing voltage to the heater through power supply, I would require the power source to switch off. When it drops below, the power source switch on again.

 

How to link my DAQ readings to the power supply?

 

Thank you very much!

0 Kudos
Message 1 of 3
(3,499 Views)
Solution
Accepted by topic author MahmudulHasan123

Hi Mahmudul,

 


@MahmudulHasan123 wrote:

If the temperature of the heater rise above the set point after providing voltage to the heater through power supply, I would require the power source to switch off. When it drops below, the power source switch on again.

 

How to link my DAQ readings to the power supply?


Exactly in the way you wrote your requirement:

 

IF TempReading >= limit THEN
  PSU = OFF
ELSE
  PSU = ON
ENDIF

 

The same is shown in the other thread where you also asked for the same problem…

Best regards,
GerdW


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

you can implement a logic with the temperature reading, if temp rises above the limit, sends a command to the power supply to turn off and on when it reaches bellow the lower limit. 

A more elegant implementation is to create the second loop (that deals with power suppply) to work as state machine and the case would then trigger a message to the second loop to turn on or off according to the logic. 

CHeck the template Queue Message Handler to have an idea how to implmeent it in labview. 

 

 

LVNinja_0-1703255541936.png

 

0 Kudos
Message 3 of 3
(3,446 Views)