Avatar

Please consider registering
guest

sp_LogInOut Log In sp_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 RSS sp_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: 1026
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:
63 Guest(s)

Currently Browsing this Page:
2 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 738

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1524

Posts: 6451

Newest Members:

jonathonmcintyre, fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0

Administrators: admin: 1