Republish values of monitored items

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Moderator: uasdknet

Post Reply
marek
Hero Member
Hero Member
Posts: 21
Joined: 14 Oct 2015, 12:17

Republish values of monitored items

Post by marek »

how do I tell subscription to re-publish/refresh statuses/values of all monitored items when subscription already exists wihout recreating/reconnecting it.

User avatar
Support Team
Hero Member
Hero Member
Posts: 3072
Joined: 18 Mar 2011, 15:09

Re: Republish values of monitored items

Post by Support Team »

Hello,

A client can call the ResendData method at the Server object using the current SubscriptionId as input argument.

Note: The OPC UA specification describes the intended use of this method. It should only be called in a receonnect scenario where the client detects missing sequence numbers and is not getting them through Republish. Normally (i.e. without or only short network interruptions) a client will receive all DataChangeNotifications and there is no need to call ResendData.
The ResendData method is optional and not supported by all server products.

Best regards
Support Team

Post Reply