Professional OPC
Development Tools

logos

Use of EasyAEClient

More
23 Sep 2017 15:44 #5542 by support
Replied by support on topic Use of EasyAEClient
Hello.

QuickOPC maintains connections to target OPC servers automatically. The connection is created when first needed, and closed some (configurable) time after not being in use any longer. In case you create OPC A&E subscriptions, they indicate an intent to be subscribed, so in this case the connection is kept open, until you unsubscribe all of them. This behavior cannot be changed, and there is no additional call to disconnect explicitly.

Related info: opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...0OPC%20failure%20recovery.html

Regarding the first question: The information about whether the server is or is not successfully subscribed is transferred through the same channel as the A&E event notifications themselves. See e.g.: opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...html#Notification%20Event.html

Also related:
- opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...ibing%20to%20OPC%20Events.html
- kb.opclabs.com/OPC_A%26E_Notification_Handler_Pseudo-Code

Best regards
The following user(s) said Thank You: Millon

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

More
22 Sep 2017 10:29 #5538 by Millon
Use of EasyAEClient was created by Millon
Hello.
I use classic COM EasyAEClient.
Is it possible to know the state of a subscription?
Is it possible to disconnect from the OPC server connected with the ServerDescriptor object ?


Best regards

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

Moderators: support
Time to create page: 0.160 seconds

      

 Recommend this on Google