19:20, EEST
April 29, 2019
Hello,
is it normal to not receive DataChange notifications when the same value is written to the server?
When i’m writing the same value to a variable to the server, the source/server timestamp doesn’t update
and we can’t recgonize that the value was written. We don’t know if the client is still alive.
Is this expected behaviour?
I couldn’t find if that is normal, so any clarification on this would be of great help.
Thank you!
Best regards,
Kevin
9:55, EEST
April 3, 2012
Hi,
That is the default behaviour of OPC UA, unless you have set a DataChangeFilter with DataChangeTrigger STATUS_VALUE_TIMESTAMP (1.04 Part 4 section 7.12.2). By default the SDK’s MonitoredDataItems do not set a filter, therefore you will get only “STATUS_VALUE” changes, i.e. only if the StatusCode or the actual Value changes.
You can set it via MonitoredDataItem.setDataChangeFilter(DataChangeFilter).
filter.setTrigger(DataChangeTrigger.StatusValueTimestamp);
filter.setDeadbandType(UnsignedInteger.valueOf(DeadbandType.None.getValue()));
Most Users Ever Online: 518
Currently Online:
25 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, aytuleModerators: 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