Avatar
Please consider registering
guest
sp_LogInOut Log Insp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSSsp_TopicIcon
Cyclic subscription
March 26, 2014
13:56, EET
Avatar
Xavier
Member
Members
Forum Posts: 43
Member Since:
March 26, 2014
sp_UserOfflineSmall Offline

Hi,

I just would like to know if it is possible with OPC UA and your Server/Client SDK to have a subscription that would always send the current value of all data subscribed at each publish. This means that even if a value does not change, the client would be notified each seconds for instance of this value.

Or the only way to do this is to use the read method from the client at a fixed rate ?

Thanks

March 26, 2014
14:57, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1029
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Read is the only way. The OPC UA specification does not define a way to refresh the complete subscription when the values have not changed.

Subscription.readAll() does this, but may get mixed with the changes coming to the subscription from another thread. So it may be best to just read without a subscription.

I have suggested a new method to Refresh the complete subscription, which would be useful in some situations to ensure that we have all the values up to date. But it will only be available in future OPC UA specifications. And it will still require a specific method call from the client to get the refresh.

Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 41
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 90
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 732
Moderators: 8
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1545
Posts: 6516
Newest Members:
mood edibles, LouieWreve, daniellabdx, janessan21, sammiebeak359, gena7127517, thorstenbouldin, Brett.Rollason, steven014223542, Roberthat
Moderators: Jouni Aro: 1029, Pyry: 1, Petri: 1, Bjarne Boström: 1045, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0, Elias: 0
Administrators: admin: 1