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

Various questions regarding Subscription - by: henning_wo

$
0
0
Hi,

we have some questions regarding your OPC-UA implementation (C# NuGet package "OpcLabs.QuickOpc" Version="5.63.162").
We are using client server UnsubscribeAllMonitoredItems/SubscribeMultipleMonitoredItems together with PullMultipleDataChangeNotifications.

1. UnsubscribeAllMonitoredItems and SubscribeMultipleMonitoredItems.
a) your documentations contains the following remark for UnsubscribeAllMonitoredItems and SubscribeMultipleMonitoredItems: "This method operates (at least in part) asynchronously". What exactly does that mean?
b) is there a complete synchronous version of your methods UnsubscribeAllMonitoredItems and SubscribeMultipleMonitoredItems?
c) in this version of SubscribeMultipleMonitoredItems your documentation doesn't show the remark, that the method ist partly asynchronous:
opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...ibeMultipleMonitoredItems.html
I) Is this version synchronous or is just the remark missing?
II) What's the diffence between the SubscribeMultipleMonitoredItems methods on UaClient, EasyUAClientExtension and EasyUAClientExtension2?
d) if UnsubscribeAllMonitoredItems is always asynchronous, how can we safely determine, that all items are really unsubscribed, before subscribing new items? In your examples, your're waiting for 5 seconds after UnsubscribeAllMonitoredItems,
but that's not really a safe option for production code.
e) SubscribeMultipleMonitoredItems: how can we safely determine, that all items are really subscribed?
f) if UnsubscribeAllMonitoredItems is always asynchronous, calling a Dispose() directly after UnsubscribeAllMonitoredItems() as in your documentation shouldn't work. The object will be disposed during unusbscribing? opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...ce-QuickOPC/Unsubscribing.html
Is this really correct?


2. In case of problems, is the uaClient automatically reconnecting the the OPC-UAServer? Could you tell us some details about this behavior (number of retries, retry interval, status change information,...)

Please, could you help us with our questions?

Cheers,
Ralf

Viewing all articles
Browse latest Browse all 1794

Trending Articles