You can help by commenting or suggesting your edit directly into the transcript. We'll review any changes before posting them. All comments are completely anonymous. For any comments that need a reply, consider emailing docs@inductiveautomation.com.
Version:
Supplemental Videos
-
8:44Displaying Current Alarms
-
3:49Filtering Alarms
-
3:01Displaying Alarm History
-
2:55Alarm Row Styles
Description
Learn how to change the appearance of rows in the perspective Alarm Status table.
Video recorded using: Ignition 8.0
Transcript
(open in window)[00:00] In this lesson, we'll take a look at how we can customize how alarms are displayed in our perspective alarming components. So to get started here, I have an alarm status table showing a nice little assortment of alarm events of differing priorities. And to keep things simple, all of them are active and unacknowledged alarms. Now it's clear that our alarm events don't all look the same. Currently, we're getting different background colors and text colors for our rows based on the priority and alarm state. However, there's quite a bit that we can do to modify this default functionality within this table. Specifically, we can make use of what are called alarm row styles, to make pretty much any style customizations we want to our rows. To see this in action, I'm going to find my way into the properties for my alarm status table on the right here and scroll down until I find the row styles property. The first thing to know about row styles is that they're configured separately for each of the four Main alarm states.
[01:01] I'm only showing active unacknowledged alarm events in my table here, so I'm going to focus on just the first sub property in here. If I expand activeUnacked, I have two more sub properties base, which allows us to configure a basic style for all active unacknowledged alarms. And priorities, which allows me to configure more granular styles for each priority of active unacknowledged alarm. Both the base and the priority fields could take any style properties or defer to style classes. So for example, inside base I'm going to go into my classes field and select alarm text. Which is going to sync up with a pre-configured alarm text style class and just modify the font and font size for each of my rows. We could do something a bit fancier using style classes. Like having a style class with an animation so our alarm backgrounds could flash. Next, if I want to make a change that affects only one alarm priority. I can go into priorities, select the priority I'd like to modify. So how about that diagnostic here and then use the paint swatch icon to configure any style we'd like.
[02:05] So how about I go in here and then go into the background color. Go into the palettes and change the background color to a nice light blue and then click OK. And we'll see that diagnostic active and unacknowledged alarms have been updated in the table. Classes will also still work in here, you just have to specify the classes property yourself. So on one final note, if I go to my alarm journal tab here at the bottom, you will see that the alarm journal component has a similar functionality. Except row styles can be configured for each event type. Like active acknowledged or cleared rather than current alarm state. So that's how we can change the appearance of rows inside our alarming components in perspective. Now we can really make sure our operators catch the most important alarms in our system.