13:56, EET
March 26, 2014
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
14:57, EET
December 21, 2011
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.
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, dalenegettingerModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1