Introduction:
In this post, we cover constructing a “popup” alarm window that displays when any alarm is triggered.
Software Version:
EasyBuilder Pro 6.04.02.508+
Demo:
Related Tutorials:
How to create an alarm information popup
How to display “Event (Alarm)” history
How to create and display an alarm
Video - How to create and display alarms within your EasyBuilder Pro project
Video - EasyBuilder Pro Event (Alarm) Log - Weintek USA, Chapter 7
Video - How to display alarm history within EasyBuilder Pro
Video - How to add alarm push notifications to an EasyBuilder Pro project
Instructions:
Follow the steps below to configure a “Direct Window” that displays when an alarm is triggered.
-
Within the “Windows Tree,” select the “Common Window.” Any object placed on the Common Window will be accessible, visible, or in effect within all user-defined project windows:
Note: If you do not see the Windows Tree within your IDE, see step 1 of this post.
-
In the “Object” tab, select “Direct Window” from the “Embed Window” drop-down list:
-
We’ll configure the Direct Window to display a popup window when an alarm is triggered. To accomplish this, we’ll assign system tag LB-12399 to the Direct Window’s “Read” address. Within the “Attribute” section, select “ON” from the “Trigger” drop-down list, choose the desired alarm popup window from the “Window No.” drop-down list, and select “Popup window” from the “Style” drop-down list:
Note: This post demonstrates how to create a popup sized window.
Note: This video demonstrates how to create and display alarms.
Note: System tag LB-12399 will not trigger multiple times if a new alarm is triggered while one is currently active.
-
Place the Direct Window within the Common Window: