Horn and Open Dialog Window when come new alert

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
hakan
Posts:28
Joined: Wed Nov 24, 2010 9:38 am

Horn and Open Dialog Window when come new alert

Post by hakan »

Hello,



How can I do that play horn when occurred new alert and open new dialog that included alert message. Is there any function for these. Or we have to write a script for these.

If We have to write a script how can I realize new alert occurred and this alert acknowledged.
Thank You

Best Regards,

Hakan GONEN

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

Re: Horn and Open Dialog Window when come new alert

Post by leoknipp »

Hello,

there is no standard functionality available to start a sound when an alert is raised.
You can use the function dpQueryConnectSingle() and the SQL-syntax "SELECT ALERT" to get the information when an alert is raised. At the work-function you can start a sound (CTRL-function startSound()) and open a childpanel.
To acknowledge an alert the function alertSet() is used.

For details concerning these functions please have a look at the WinCC OA online help.

Best Regards
Leopold Knipp
Senior Support Specialist

2 posts • Page 1 of 1