Author Topic: 7-segment display to "0.1"  (Read 124 times)

alimsystem

  • Newbie
  • *
  • Posts: 1
    • View Profile
7-segment display to "0.1"
« on: April 25, 2025, 11:14:12 PM »
For the numeric seven segment library, we want to output the value "0.1". However, the library outputs ".1". I checked all the library properties, but I could not get the proper answer.

Please give me some suggestions.

bachphi

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
Re: 7-segment display to "0.1"
« Reply #1 on: April 27, 2025, 06:53:02 PM »
There are some quirks with the SevenSegment display, as you noticed — it won’t show the leading zero before the decimal point (you already discovered that).

I wouldn’t recommend using it since it’s also a bit clunky.
The better solution is to use the Analog Display. It will properly show numbers like 0.1, and if you still want the "seven-segment" look, you can download the fonts and follow Archie's instruction in the link

 https://www.advancedhmi.com/forum/index.php?topic=1565.0.
UCL =================
This is NOT alt.read.my.mind.No such thing is sh^t-for-brains
unless you are posting to alt.read.my.mind. Savvy?
My understanding of computer is well below six Σ.
Unless what I say is logically defined in a PLC, everything else might be beyond my control.
LCL ================