changing alert handler active value from other system

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

changing alert handler active value from other system

Post by vedadramovic »

Hello,
How is it possible in distributed system to change alert handler activity value from one of the systems in distributed system?

I have tried to change it using dpSet() and using "para", but I did not succeed.
I need this to disable specific alarms during regular system tests. During those tests we need to have values from those data points.

Best regards,
Vedad Ramovic

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

Re: changing alert handler active value from other system

Post by leoknipp »

Hello,

setting the attribute _alert_hdl.._active is possible with a dpSet(), even in a distributed system.
Before an alert handling can be set inactive all pending alerts for the specific DPE must be acknowledged.

Best Regards
Leopold Knipp
Senior Support Specialist

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

Re: changing alert handler active value from other system

Post by Gertjan van Schijndel »

You could also consider using the event config entries 'alertConditionBit' and 'alertConditionLogic', so you can temporary disable the alert handling for a dpe by setting an userbit. This way a pending alert does not have be acknowledged.
Only do not forget the activate the alert handling again after the system tests are done.

vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

Re: changing alert handler active value from other system

Post by vedadramovic »

Thank you very much Leopold and Gertjan for fast and precise answer.

In my case "para" was opened on original system and it locked the element, so I was not able to change it from distributed system.
Best regards,
Vedad Ramovic

4 posts • Page 1 of 1