callback with dpQueryConnectSingle on alert WENT/UNACK

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
3 posts • Page 1 of 1
eMichx
Posts:64
Joined: Thu Apr 24, 2014 11:24 am

callback with dpQueryConnectSingle on alert WENT/UNACK

Post by eMichx »

Hello,

I'm trying to use the dpQueryConnectSingle function, but there's no call to the callback function on a DP which was in alarm state before which is gone unacknowledged.I need to acknowledge the DP, to receive an event!

dpQueryConnectSingle("cb_PanneauxEnAlerte",TRUE,"",
"SELECT ALERT '_alert_hdl.._act_state', " +
"'_alert_hdl.._act_state_color',"+
"'_alert_hdl.._gone_time'" +
" FROM '*.*' WHERE _DPT = \\"_SumAlertPanel\\""

(on WinCCOA 3.12)

regards
Emmanuel

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

Re: callback with dpQueryConnectSingle on alert WENT/UNACK

Post by leoknipp »

Hello,

maybe you have to use other attributes to get a hotlink.
The attributes _act_state and _act_state_color are normally not used for a dpQueryConnectSingle. You could try to use _alert_color.

Best Regards
Leopold Knipp
Senior Support Specialist

eMichx
Posts:64
Joined: Thu Apr 24, 2014 11:24 am

Re: callback with dpQueryConnectSingle on alert WENT/UNACK

Post by eMichx »

I have tried with _alert_color, keeping _act_state, but the problem was still present. No event for an alert WENT/UNACK
When I have used just _alert_color and _alert_value, it works !

Thank you Leopold
Emmanuel

3 posts • Page 1 of 1