You're currently browsing the Ignition 8.0 docs. Click here to view the latest docs.


The Alarm Status Table comes with a particular set of colors associated with each of the alarm states. You can change these colors for each of the states by going to the Alarms Row Styles Customizer that the Alarm Status Table component provides.   

By default, the Active and Unacknowledged alarms are at the very top of the table and are red and blinking, and Cleared and Unacknowledged alarms are teal and at the bottom of the table, as shown in the image below. 


On this page ...


IULocgo


Alarm Status - Row Styles


Customizing Alarm Row Styles

In the Alarm Row Styles Customizer is where you can modify an existing row style, add more styles, or delete a style. Each style has an expression, a color and the option if you want it to blink. The expression allows you to do any evaluation you want using any filter properties of the alarm such as Priority, State, Display Path, Active Time, and Clear Time.

In the Designer, right click on the Alarm Status Table component, go to Customizers > Alarm Row Styles to see the default row styles. Alarm Row Styles is an ordered list and each style has an expression. How it works is, the first style that returns ‘True’ for a given alarm is the one that is going to be used. So you want to make sure the order is the correct order that you want. If you want to change the order, select a row and click on the up or down arrow  icons. Click on each of the row styles to view the expression and row style.

Creating a Row Style

Let's create another state alarm with a new row style. Call this new alarm state 'ActiveUnacked' and make it 'Critical.'

  1. With the Alarm Row Styles customizer open, click on the Add  icon, and call this new alarm 'ActiveUnacked' and make it 'Critical'. 
  2. Copy and paste the expression from the code block below into the Expression block of the Alarm Row Styles window. Notice that we are making this alarm state a priority 4.

    {state}='ActiveUnacked' && {priority}>=4


    Alarm State Priority Numbers

    Priorities are numbered behind the scenes, but named when you are creating them. 0 = Diagnostic, 1 = Low, 2 = Medium, 3 = High, and 4 = Critical. This allows you to use operations like '>=' (greater than or equal) when filtering on priority.

  3. The new alarm state by default is added to the bottom of the list. Style order is very important. If you keep this style at the bottom of the list, the alarm will never be visible in the Alarm Status Table. Move ActiveUnacked with a Priority >= 4 to the top of the row styles list so it is evaluated before the other styles. 
  4. Since this is a critical alarm, you want it to catch the operator’s attention, so it’s a good idea to make the style standout. Make the Foreground color 'Black' and the background color 'Red.'  Check the Blink Box and make the foreground color 'Black' and background color 'Yellow.'

  5. Press OK.



  6. The critical alarms will now blink red and yellow and will definitely catch the operator’s attention.



To learn more about states and priorities including all the alarm configuration properties, refer to the sections on Alarm Event Properties Reference.  



  • No labels