AdvancedHMI Software
General Category => Open Discussion => Topic started by: bowman@bcs4support.com on April 19, 2021, 04:02:18 PM
-
I have a pulse counter for a flow meter that totalizes pulses to display in gallons. The accuracy of the counter in the PLC is to 5 decimal places. I only want to see he hole number portion in the HMI display.
How to display only the hole number portion of the PLC data?
Thanks is advance.
-
With a BasicLabel you can set the ValueScaleFactor to 0.0001
-
I am using the AnalogValueDisplay if that makes any difference. The values in the memory location in the PLC can be 608.59756. I only want to display the 608 portion.
Sorry if I got you confused. Any suggestions?
Thanks
-
Use its NumericFormat property and set it to "0000" (the number of 0 characters can be equivalent to the number of digits of the highest rounded received value but can also be more or less than that number).
-
In the NumericFormat property just put N0.
This way it follows the numeric format of your system.
If you want 1 decimal place it will be N1, N2 for 2 decimals and so on