Horn on remote UI

Find and share HowTos to various installations / configurations!
6 posts • Page 1 of 1
twinsen
Posts:16
Joined: Mon Jan 30, 2017 1:31 pm

Horn on remote UI

Post by twinsen »

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?

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Horn on remote UI

Post by leoknipp »

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

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Horn on remote UI

Post by Gertjan van Schijndel »

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

Post by twinsen »

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

Post by leoknipp »

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

twinsen
Posts:16
Joined: Mon Jan 30, 2017 1:31 pm

Re: Horn on remote UI

Post by twinsen »

Ok, I got it working. Thank you!
I think this core functionality should be built-in, as in other SCADAs.

6 posts • Page 1 of 1