Set priority ranges for alarm records
- Last UpdatedJul 23, 2024
- 2 minute read
You can use alarm priority ranges to filter alarms. The Alarm Control can show alarms within a given range with a different text and background color. Use the AlarmColor.Range Property group in scripting to set the breakpoints at run time.
The Alarm Control supports four alarm ranges defined by three breakpoints:
1 < breakpoint 1 < breakpoint 2 < breakpoint 3 < 999
To set priority ranges for alarm records
-
Double-click the Alarm Control on the canvas. The Edit Animations dialog box appears.
-
Click Colors. The Colors page appears.
-
In the From Pri column in the list at the right, locate the break point you want to change. These are values except 1 or 999.
-
Click the value and type a new value in the range between the previous breakpoint and the next breakpoint.

-
Press Enter. All priority values in the list are updated.
-
Click OK.
Example
If you use the color configuration in the procedure above, the Alarm Control at run time could have following appearance:
