Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Example of alarm item control by script

The example shows usage of methods SetState, Inactivate and Activate
 
- This example is functional for Web.
- Located in the tree of Pma objects: /Examples/Alarms
 
The example contains a single panel (PmaPanel) with several PmgButton objects. These buttons contain a script in the onButtonUp event. These use the panel method SetAlarm to activate the alarm item with corresponding texts obtained in method parameters. Or use the panel method SetInactive to execute method Inactivate of this item, or set the state of this item by the SetState method.
 
In order to make alarm item status changes visible, the workspace is divided by the PmaWorkspace object to panel section (with controls) and alarm state viewer section.

History:
Pm8.00.04: Created
PROMOTIC 9.0.7 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice