01-10-2009 12:18 PM
i would like to programatically change the thermostat indicator from degree C to degree C.
at minimum the scale and labels need to change I believe.
is there an example vi or can someone explain how i can do it?
thank you
01-10-2009 01:25 PM - edited 01-10-2009 01:27 PM
Heres a quick example. I edited the VI so it may be used as a sub-vi.
It should do the trick.
I didnt have anything that could give me a temperature reading so I just used a numeric control named 'Temperature'.
Replace this with however you are reading in temperature values.
01-10-2009 11:09 PM
tomsch wrote:i would like to programatically change the thermostat indicator from degree C to degree C.
That's not much of a conversion. ![]()
A better solution: Use an XControl. There's a shipping example that does exactly this so you can just use it directly in your code. Open the Example Finder and do a search for "XControl".
01-12-2009 06:49 AM
01-12-2009 08:48 AM
01-13-2009 07:50 AM
Hi tomsch,
Use this link (NI Developer Zone Tutorial: Creating New Front Panel Objects with LabVIEW XControls) or refer to the LabVIEW help file for using XControls.
01-13-2009 12:31 PM
smercurio_fc wrote:
Cory's solution ... for some reason includes Kelvin
Of course it does. What if he's working with really cold stuff and doesnt like negative numbers?