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
callback with dpQueryConnectSingle on alert WENT/UNACK
- eMichx
- Posts:64
- Joined: Thu Apr 24, 2014 11:24 am
callback with dpQueryConnectSingle on alert WENT/UNACK
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: callback with dpQueryConnectSingle on alert WENT/UNACK
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
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
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
When I have used just _alert_color and _alert_value, it works !
Thank you Leopold
Emmanuel