We have “NI cDAQ 9271” and two modules.
One module is “NI 9211”, to which a K-type thermocouple is attached.
Second module is “NI 9265” which is an analog output (AO 0-20mA current).
A heater. < Thermocouple is attached to the heater for obtaining the temperature of heater.
{the NI 9265 module is connected to the thyristor unit, and the thyristor supplies the current to the heater}
I already has such a VI, in which I increases the amount of current to the heater by “Slide bar” in the front panel. And the Thermocouple shows the temperature of the heater in Front panel of that VI. Picture is attached here.

But the problem is that I can’t control the temperature on a certain point.
I want such a VI, in which when I set a certain temperature, the NI 9265 give sufficient amount of current to the heater. And when the temperature exceeds from that set point, then automatically closes the current flow to the heater.
I don’t know the basics of Labveiw. So, if anybody gave me VI, that suits to my setup, it will be appreciated well.
Message Edited by akhpal on 09-30-2009 10:20 PM