AdvancedHMI Software
General Category => Open Discussion => Topic started by: Waynew on April 08, 2017, 11:04:43 PM
-
Wondering if there is a way to 'fix' the number of digits displayed with the analogvaluedisplay, and pad 'short' values with leading zero(s) ?
Application is displaying PLC Realtime clock value as the time value on the HMI using a series of Analog Value Displays separated by Basic Label characters. It works fine, just looks a little wonky when the time displays as 23:7 :1 as opposed to 23:07:01
-
For a clock you might want to take a look at this:
http://advancedhmi.com/forum/index.php?topic=1114.msg6170#msg6170 (http://advancedhmi.com/forum/index.php?topic=1114.msg6170#msg6170)
-
You could use a BasicLabel instead of an AnalogValueDisplay then use the ValueLeftPadCharacter and ValueLeftPadLength properties
-
You could use a BasicLabel instead of an AnalogValueDisplay then use the ValueLeftPadCharacter and ValueLeftPadLength properties
Perfect! Thank you, Archie. Gonna take some time to get familiar with all the 'handles' for the various components................
Very nearly there with my AHMI/RPi3/ClickPLC project - just a couple Linux hurdles left to jump