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
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: 353
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: 1919
Currently Online:
Guest(s) 36
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: 733
Moderators: 8
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1545
Posts: 6516
Newest Members:
basilpullman, Richardmip, mood edibles, LouieWreve, daniellabdx, janessan21, sammiebeak359, gena7127517, thorstenbouldin, Brett.Rollason
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