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: 346
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:
12 Guest(s)

Currently Browsing this Page:
1 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: 735

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1523

Posts: 6449

Newest Members:

rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley, Thomassnism, biancacraft16

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

Administrators: admin: 1