Alarm Banner Scripts
The ClearSCADA Global scripting feature allows you to create scripts that provide additional functionality, for example, via the Alarm Banner in ViewX. Using VBScript, you can access the Alarm Banner Functions and Properties to:
- Add menu options to the context-sensitive menu (that is displayed whenever you select an alarm from the Alarm Banner in ViewX).
- Set the added menu options to run a script
- Create scripts that extract information from the Alarm Banner in ViewX. The information can then be used within ClearSCADA or sent to external applications such as work management systems.
- Create scripts that provide extra functionality for interaction with the alarms and the database items associated with the alarms. For example, you can create an Alarm Banner script that calls a method on a database item that is associated with a selected alarm.
To write the code for an Alarm Banner script, you will need an in-depth understanding of the VBScript language and an appreciation of the Alarm Banner functions and properties. You can write the code in the Global Script Editor.
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.
We also provide some examples of how Alarm Banner scripts can be used, Common Uses for Alarm Banner Scripts.