Alarm Banner Functions

You can use Alarm Banner functions to add custom functionality, menu options, and separator lines to the context-sensitive menu that is displayed when a user right-clicks on the Alarm Banner in ViewX or Virtual ViewX.

For more information, see the topics that are listed in the gray footer section at the bottom of this topic. Select the relevant entry to display the topic that you require.

To provide access to custom functions from the context-sensitive menu on the Alarm Banner, you use the AlarmBanner.AddMenuItem function. You have to use the BuildAlarmMenu function in your script prior to using the AlarmBanner.AddMenuItem or AlarmBanner.AddMenuSeparator functions, otherwise your Alarm Banner functions will be ignored.

The AlarmBanner.AddMenuItem and AlarmBanner.AddMenuSeparator functions reference an Alarm Banner object which means that to reference them in your script, you need to use the following syntax:

AlarmBanner.<function name>


The AlarmBanner object also has properties that can be referenced in your script (see Alarm Banner Properties).


Disclaimer

Geo SCADA Expert 2022