En quoi pouvons-nous vous aider aujourd'hui ?

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 Belgium

En savoir plus
Produit :
En savoir plus
Produit :
  • Documentation produits
  • Téléchargement de logiciels
  • Sélecteur de produits
  • Substitution et remplacement de produits
  • Centre d'aide et de contact
  • Trouver nos sites
  • Obtenir un devis
  • Où acheter
  • Communauté Schneider Electric
  • Carrières
  • Qui sommes-nous ?
  • Signaler une mauvaise conduite
  • Accessibilité
  • Salle de presse
  • Partenaires
  • EcoStruxure
  • Nos emplois
  • Blog
  • Soyez informé des nouveautés en premier ?
  • Conditions générales d'affaires
  • Protection des données
  • Mention sur les cookies
  • Conditions d utilisation
  • Conditions générales de vente et d'achat
  • Change your cookie settings
  • Centre de Préférences