Hi,
I have to create an application that will be used in different parts of the world. Therefore, numerical values must be displayed with different units: in ° C and F, mm and inch for example.
For the conversion of the values, no problem; but I also have to change the limits of these variables dynamically.
Is there a solution to do this?
Thanks in advance for your help
°C/F and mm/inch conversion
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: °C/F and mm/inch conversion
You can use the "AnalogNumeric1_InputValueChanged" event in the scripting section of your screen. Then have an if statement that defines your limits based on a "units" tag.
If the user inputs an incorrect value, you can use a "Globals.Screen1.Show()" function to pop up a window that tells them the error they made.
The InputValueChanged event only fires when the user inputs a new value into the AnalogNumeric box.
If the user inputs an incorrect value, you can use a "Globals.Screen1.Show()" function to pop up a window that tells them the error they made.
The InputValueChanged event only fires when the user inputs a new value into the AnalogNumeric box.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer