Page 1 of 1

Alarm Filtering

Posted: Wed Oct 30, 2019 11:11 am
by jjang@gtd.eu
Hi Guys,

How can I apply an alarm filter of AES by script?

I'm trying to make a push-button that changes the filter (ACKNOWLEDGED or UN-ACKNOWLEDGED) but i can't achieve it and there is no help.

I have already read the aes.ctl so I thougth that I had to change the stateFilter value, but it doesn't work...

aes_setProps is the function.

and I found this next function inside aes_setProps that I guess it changes the configuration:

dpSetCache(g_propName+".Alerts.FilterState,State:_original..value",stateFilter); where stateFilter = 1;

I will be really thanksful if someone can fix it.

Best Regards,

Re: Alarm Filtering

Posted: Wed Oct 30, 2019 5:06 pm
by leoknipp
If the filter settings have been changed you probably have to restart the AEScreen as far as I know.
You can possibly use the function aes_doRestart() to restart the AEScreen.

Best Regards
Leopold Knipp
Senior Support Specialist