Alert Handle test

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
HenkS
Posts:3
Joined: Wed Jul 22, 2015 11:57 am

Alert Handle test

Post by HenkS »

Is there a way to test (in script) if a Dpe has a alert handle configured? :blush:

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

Re: Alert Handle test

Post by leoknipp »

Hello,

you can make a dpGet() on the attribute _alert_hdll.._type.
If the value is unequal to 0 the config exists.

When you want to getthe information for several datapoint elements you can also use a dpQuery() command with a suitable FROM and WHERE statement.

Best Regards
Leopold Knipp
Senior Support Specialist

HenkS
Posts:3
Joined: Wed Jul 22, 2015 11:57 am

Re: Alert Handle test

Post by HenkS »

Thanks!
Works like a charm! :cheer:

3 posts • Page 1 of 1