Using warning lights

This sample task describes how you can replace the textual representation of event severity data in a tabular view with warning lights.

Figure 1 shows detail of the Real Time Analysis (RTA) outstanding events view (EYUSTARTEVENT.TABULAR) as supplied, which is used as the basis for this task. This sample task sets a flashing red warning light for the Very High Severity level. You can make your own choice for the other event severity levels.
Figure 1. Detail of view with text representation of event severity levels
Real time analysis outstanding events screen showing 6 outstanding events. Event severity levels are shown as text: VHS for very high severity, LS for low severity, and so on.
Figure 2. Detail of view with warning light representation of event severity levels
This shows the same Real time analysis outstanding events screen as the previous figure except that event severity levels are shown both as text and with warning lights.
  1. Prepare the view set
    1. Copy the supplied view set EYUSTARTEVENT with the new name EVENTVIEWSET.
    2. On the View Set Editor screen, click Edit, and on the Open View Set screen, select EVENTVIEWSET from the view set list.
    3. On the View Set Contents screen, select the view called TABULAR and click Edit. On the Tabular View Components screen, select Table contents. The table layout is displayed.
  2. Add warning lights to the Event Severity column
    1. Select the Event Severity column by selecting the radio button in the column heading. Click Edit.
    2. On the Table Column Components screen, select Presentation options.
    3. On the Presentation type screen, select the Warning lights radio button and click OK.
    4. On the Presentation Options screen, select the Show value radio button. It is good practice to have the value displayed as well as the colored lights. Click OK.
  3. Set the color thresholds
    1. On the Presentation thresholds screen, click the Append button, and on the Presentation Threshold Components screen, select Threshold range.
    2. On the Presentation Threshold Range screen, the Equal to field is selected by default. In the entry field, type the attribute value VHS. This is the value that will cause this color. Click OK.
    3. On the Presentation Thresholds Components screen, select Threshold color.
    4. On the Presentation Threshold Color screen, select the color RED. Select the Flashing check box and click OK.
    5. On the Presentation Thresholds Components screen, click Finish to return to the Presentation Thresholds screen.
    6. Repeat these steps for each value that you want to define a color for, selecting the color required. When you have created all your presentation thresholds, click the OK button on the Presentation Thresholds screen.

      When no color is specified for a particular value, the color on the display will be grey.

  4. Save your changes
    1. Return to the View Set Contents screen by selecting on the appropriate buttons on the screens to save your changes. The buttons have different names depending on the function, and are either labeled OK or Finish.
    2. On the View Set Contents screen, you have the choice of saving or abandoning your changes.
You can test your view by creating a link from a menu, or see Providing access to WUI views and menus for information on how to display your view directly. Your view might look like the example in Figure 2.