Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Failed to detect server disconnect/subscription update - by: veda

$
0
0
First observation:
We see an issue with some subscribed variables/values not being updated after the client has been running for some hours/days. If I start a second instance of the same client code on a different machine this client will receive update of subscription updates. So I end up with two identical clients running on two servers connected to the same OPC Server. The client that has been running for a long time will stop reporting updates (only some values, not all), while the newely started client will work as expected.

Additional note: The OPC server we see the problem realted to has very seldom updates of values.

Second observation:
If we add a new subscription to the same server, it seams like we do not get any callbacks on the new subscription either (can not verify directly, but status is "bad" and hence not updated by the DataChangeNotification callback). We have not received any callbacks on ServerConditionChanged about disconnect, even though the client behaves like it is not connected. If we start a new (additional) instance of the client, this new instance works as expected and will receive callbacks as designed.

Viewing all articles
Browse latest Browse all 1794

Trending Articles