How do I play a sound on a remote UI project as long as there's an unacknowledged alarm on the server?
I want to play different sounds on diffrent priorities. Should I create a script on the UI project? Is there an example on how to do that?
Horn on remote UI
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Horn on remote UI
You can have a look at the following thread
https://portal.etm.at/index.php?option= ... =4167#4167
Best Regards
Leopold Knipp
Senor Support Specialist
https://portal.etm.at/index.php?option= ... =4167#4167
Best Regards
Leopold Knipp
Senor Support Specialist
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: Horn on remote UI
If you use a properly configured PanelTopology and only want to sound the horn on alarms, that are in your application, you could connect to the '_SumAlertPanel' datapoint of the StartPanel (usually 'main_1') and start/stop the horn in the callback.
- twinsen
- Posts:16
- Joined: Mon Jan 30, 2017 1:31 pm
Re: Horn on remote UI
How do I run startSound on remote UI? My scripts always execute on the server 
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Horn on remote UI
If the sound shall be played in the UI you have to implement the functions (query work function + startSound) in one of the panels which are opened at the client. E.g. in of the panels which are used for the panel topology.
Best Regards
Leopold Knipp
Senior Support Specialist
Best Regards
Leopold Knipp
Senior Support Specialist
- twinsen
- Posts:16
- Joined: Mon Jan 30, 2017 1:31 pm
Re: Horn on remote UI
Ok, I got it working. Thank you!
I think this core functionality should be built-in, as in other SCADAs.
I think this core functionality should be built-in, as in other SCADAs.