Author Topic: DigitalPanelMeter display Decimal point  (Read 1984 times)

Darrell

  • Full Member
  • ***
  • Posts: 198
  • Electrician / PLC Technician
    • View Profile
DigitalPanelMeter display Decimal point
« on: February 28, 2015, 10:52:17 PM »
DigitalPanelMeter  How can I get the decimal point to display properly , if I have for example 45.1 and  put a 1 in the decimal position I now display 4.5 , If I use a floating point for a PLC address I would like to display the correct value

thank Darrell

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: DigitalPanelMeter display Decimal point
« Reply #1 on: March 01, 2015, 12:35:15 AM »
It seems that the ValueScaleFactor has to be adjusted (for 1 decimal point it will be 10, for 2 decimal points it will be 100 ...).

You can put that 45.1 value in the properties window of the DigitalPanelMeter, adjust decimal point and the ValueScaleFactor and it should show you how it will be displayed.

Darrell

  • Full Member
  • ***
  • Posts: 198
  • Electrician / PLC Technician
    • View Profile
Re: DigitalPanelMeter display Decimal point
« Reply #2 on: March 01, 2015, 02:44:30 PM »
Thanks , don't know how I missed this
Darrell