Hi, I'm trying to write a PID temperature controller. The heaters are turned on and off via relays and are monitored by thermisters.
I am using one of the PID vi's supplied with the labview PID toolkit. But the value of the output from the PID vi will be a numerical value, say from 0 - 10 depending on the temperature. My question is, how do I convert this value into switching action for the relays? ie: if the value is 10, then I'd want the heater to be on, if the value is 0 I'd want the heater to be off and if the value is anywhere in between, it would be switching on and off at the appropriate rate.
Would the relay.vi help for this? Would I just set my threshold value, and if the output from the PID vi is above this value, then switch on the heater and if it's below then switch the heater off?
Thanks!
Sunny