How to implement alarm sound signals in web clients.
In order to be able to run the alarm on a web client depending on the alarms generated on the server, it is necessary to create a permanent link that will inform the client about the state of the alarms. A button
or image (PmiCanvas
) placed in permanently opened panel (usualy Toolbar
) can be easily used for such purpose.
The procedure goes by following steps:
- On the Variables
page of this item, create Integer
type variable named nAlState3
- Then insert the script marked as Example into the onRefresh
variable can also be used for changing the color of text, background, image, etc.. The item can also be used as button for opening the alarm viewer - The example of alarm viewer opening