earth_america
user_standard Log on
action_search_stroke
earth_america
Log on to rate and give feedback 1 2 3 4 5 Log on to rate
0
Concept

Concept


Products: Automation Server, AS-B, Enterprise Central, Enterprise Server, AS-P, Virtual Project Servers
Functionalities: Alarms
Product version: 2.0, 2.1, 3.0, 3.1
5/18/2018

Text Formatting

You can customize the presentation of decimals, value types, width, and alignment in a notification text or a notification report text.

Decimals

You can customize the presentation of the number of decimals using the following text formatting codes:

Code

Description

@(Value)

Displays 2 decimals

@(Value:%.1f)

Displays 1 decimal

@(Value:%.4f)

Displays 4 decimals

The default number of decimals displayed in a notification or notification report is two.

Value types

You can customize the presentation of the value types using the following text formatting codes:

Code

Description

t

Value type

s

String

f

Float

Width and alignment

You can customize the width and alignment of data in a notification or notification report using the following text formatting codes:

Code

Description

%wt

At least w wide, right aligned

%-wt

At least w wide, left aligned

%=wt

At least w wide, center aligned

%w.ct

At least w wide, right aligned, max c long

%-w.ct

At least w wide, left aligned, max c long

%=w.ct

At least w wide, center aligned, max c long

In this example, we have an alarm with the source '/Server/Alarm1' with a monitored value of 0.5.

 
action_zoom_plus_stroke This alarm has the source '/Server/Alarm1'
Figure: This alarm has the source '/Server/Alarm1'
  • Notifications
  • Notification Reports
  • Creating an Alarm Triggered Notification
  • Configuring an Alarm Triggered Notification 
  • Creating a Variable Triggered Notification
  • Configuring a Variable Triggered Notification
  • Alarm Triggered Notification Properties - Basic Tab
  • Alarm Triggered Notification View
  • Variable Triggered Notification Properties - Basic Tab
  • Variable Triggered Notification View
  • Creating a Notification Report Template
  • Configuring a Notification Report Template
  • Notification Report Template Properties - Basic Tab
  • Notification Report Template View
  • Date and Time Formatting