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
Get notification on UA Server when node value change from ua client
August 26, 2021
12:49, EEST
Avatar
Sabari
Member
Members
Forum Posts: 62
Member Since:
June 21, 2021
sp_UserOfflineSmall Offline

Hi

I would like to know if there is a way to know if a variable has been modified from ua client ?

Thanks

August 26, 2021
13:14, EEST
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 321
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

Clients can use Subscriptions and MonitoredItems to receive DataChangeNotifications whenever there is a change in the value of a monitored Attribute, such as the Value Attribute. This includes changes made to Values of Variable Nodes by other Client applications. However, DataChangeNotifications don’t specify why the Value has changed, so while other Clients would get notified of the changed, they wouldn’t know that the change was triggered by another Client. If letting the other Clients know that is crucial to your use case, you would need to have your Server generate an Event whenever a Client changes the Value of a Variable Node and use it to specify which Client changed the Value.

On the Server side, you can use classes that implement the IoManagerListener interface to detect when a Client is writing a value to a Node. See SampleConsoleServer and its MyIoManagerListener class for an example of implementing the IoManagerListener interface and using it.

August 26, 2021
15:34, EEST
Avatar
Sabari
Member
Members
Forum Posts: 62
Member Since:
June 21, 2021
sp_UserOfflineSmall Offline

Hi,
Thank you for the reply, it was helpful

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

ibrahim: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 680

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6259

Newest Members:

sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com, aytule

Moderators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1