Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Receiving dataChangeCallbacks after UnsubscribeAllItems

More
14 May 2019 08:27 #7359 by support
Hello.

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.

Regards

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

More
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 5.52.164.1), 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
Peter

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

Moderators: support
Time to create page: 0.040 seconds