Professional OPC
Development Tools


Receiving dataChangeCallbacks after UnsubscribeAllItems

14 May 2019 08:27 #7359 by support

I would like to first say that UnsubscribeXXXX methods are designed to work asynchronously, same as SubscribeXXXX. That is, it would be normal to receive *some* notifications after the method returns. But I understand that this is not your situation - such notifications should stop - and not last 50 minutes or longer.

I cannot come up with a reason or a known cause for this behavior. I am not sure if by "non-reproduable" you mean that it has occurred just once, or that is occurs from time to time, but you cannot tell under which circumstances. If it happens from time to time, first thing I would suggest to do is to upgrade to recent QuickOPC version and see if that resolves the problem. If you are not license, I can give you evaluation license, free of charge. And if it resolves the problem, a significant discount on version upgrade.


Please Log in or Create an account to join the conversation.

14 May 2019 07:52 #7358 by zaglerp
Hi all,

We experienced a non-reproducable situation that our application receives dataChangeCallbacks after calling UnsubscribeAllItems().

1. Application creates a EasyUAClient object and did multiple calls to SubscribeMultipleMonitoredItems
2. Application receives and processes dataChangeCallbacks
3. Application calls UnsubscribeAllItems()
4. Application Disposes the EasyUAClient object
5. Application continues to receive dataChangeCallbacks (for at least 50 minutes)

Environment: C#, OPC UA Client (Version, OPC-Server from Siemens,

We were not able to reproduce this behaviour.
Is there anything we can improve to prevent this situation in future?

Kind regards

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.150 seconds


 Recommend this on Google