Hi
I've noticed that dpConnect() keeps calling the callback function, even if the value of the input parameters do not change.
dpConnect("callbackFunction", dp1:_online.._value)
If I put a DebugN inside the callbackFunction, I keep seeing in the log that the function is called.
dp input parameters have an OPCUA subscription as pheriphery address. But their value don't change.
There's something I'm missing ?
Thank you
dpConnect keeps calling callback function
Search
-
- Posts: 373
- Joined: Tue Jan 15, 2019 3:12 pm
Re: dpConnect keeps calling callback function
Perhaps the same value is written multiple times. Are other attributes (like the timestamp) changing?
Re: dpConnect keeps calling callback function
The "wantsAnswer" parameter only defines if the work function is triggered immediately when doing the dpConnect().
During runtime it has no effect if the parameter is set to to true/false.
Best Regards
Leopold Knipp
Senior Support Specialist
During runtime it has no effect if the parameter is set to to true/false.
Best Regards
Leopold Knipp
Senior Support Specialist
Re: dpConnect keeps calling callback function
Oh, sorry. I misunderstood Mgiacome's problem.
Re: dpConnect keeps calling callback function
Thanks all, the cause was the low level comparison setting unchecked inside the pheriphery address of the datapoint .... sorry