How can we help you today?

Displaying Formatted Values Without Units in Geo SCADA Expert

When using an analog point's CurrentValueFormatted property in a Geo SCADA Expert animation, the displayed value includes both the formatted number and its engineering units (for example, 60 meters). In situations where only the formatted value is required, the ELEMENT function can be used to remove the units while preserving the point's configured formatting.

ValueFormatted

Use the following expression in the animation:

ELEMENT(1, ' ',".ModbusMasterSlave.Modbus Master Slave Test.Master.AI1 Master.CurrentValueFormatted",0)

This expression splits the CurrentValueFormatted string at the space character and returns only the first element. As a result, a value such as 60 meters is displayed as 60, while still using the formatting defined on the analog point.

ValueWithoutUnit

This approach is especially useful when multiple points use different formats and maintaining those formats centrally is preferred over defining formatting individually within each animation.

Schneider Electric New Zealand

Explore more
Product:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Product:
  • Products Documentation
  • Software and Firmware
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Centre
  • Where to Buy?
  • Office Locations
  • Schneider Electric, PDL & APC Phone: 0800 741 303
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Conditions of Sale
  • Change your cookie settings
  • Preference Centre