Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

Examples of formatting text objects as numbers

  • Last UpdatedMar 17, 2025
  • 2 minute read

The following table shows examples of displayed analog values when animated format characters are used in a text object. In these examples, the current value of a temperature I/O tag is 123.45 Cº. This tag is assigned as the reference value of a text object using an Analog animation link.

Formatted Text Object

Displayed Value of the Text Object

Temp = # C

124 C

Displays the temperature as an integer. Only one # needs to be entered in the text object.

Temp = #.# C

123.5 C

The fractional part of the temperature is rounded to a single number using the # character. The integer part of the temperature is unchanged.

Temp = 00000 C

00124 C

Adds leading zeros to the integer part of the temperature.

Temp = 000.0 C

123.5 C

The fractional part of the temperature is rounded to a single digit because of the single zero in the format.

Temp = 00.00 C

123.45 C

The original temperature value remains unchanged.

Temp = 0,000.#

0,123.5 C

A leading zero and comma are forced at the integer part of the temperature reference value. The fractional part is rounded to a single number using the # character.

Specify the format of text objects as numbers

  1. Create a text object in a window and insert one or more characters to format a reference value associated with the text object.

  2. Double-click the text object to show the Animation Links selection dialog box.

  3. In the Value Display section, select Analog. The Output -> Analog Expression dialog box appears.

    Output: Analog Expression dialog

  4. In the Expression field, type an analog tagname or expression.

  5. Select OK.

  6. Save your changes to the window.

  7. Run the application to verify the number appears correctly in the text object.

TitleResults for “How to create a CRG?”Also Available in