- Posts: 22
- Thank you received: 0
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.
Server Connection
- Jannie@Moore
-
Topic Author
- Offline
- Elite Member
-
Please Log in or Create an account to join the conversation.
There are important things to know and keep in mind:
- In QuickOPC, each item subscription is treated as a separate data stream with its own error reporting. If there is a server-wide problem, all subscribed items receive the corresponding error notification.
- Notifications are coming sequentially, but they are queued internally. So, if a notification already exists, QuickOPC will deliver it, you cannot cancel it.
- calls to SubscribeXXXX, UnsubscribeXXXX or ChangexXXXSubscription are all asynchronous. The actual operation may take place after the method call returns. This means that also notification may come for some time, even after you call UnsubscribeXXXX.
If you are trying to reconnect to the same server: Do not do it. QuickOPC has robust reconnection mechanisms of its own, and trying to interfere with them is going to so more harm than good. If you are not happy with the built-in reconnection mechanism, explain why.
If you are trying to fail over to some different server: You can unsubscribe from the currently subscribed items, but keep in mind that the fact that outstanding notifications will still come, as explained above. It is possible to ignore the notification that you do not want by coding around it.
Regards
Please Log in or Create an account to join the conversation.
- Jannie@Moore
-
Topic Author
- Offline
- Elite Member
-
- Posts: 22
- Thank you received: 0
Please Log in or Create an account to join the conversation.
I do not quite understand what actually is the question. You have already provided code. Are you saying that the code does not work as expected? If so, how is the code's behavior different from the expectation?
Thank you
Please Log in or Create an account to join the conversation.
- Jannie@Moore
-
Topic Author
- Offline
- Elite Member
-
- Posts: 22
- Thank you received: 0
This is where i get the data and handling the connection here is not working , because it check per tag.
Please Log in or Create an account to join the conversation.