Please consider registering

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
DataChange Notification when value doesn't change
May 14, 2019
19:20, EEST
New Member
Forum Posts: 2
Member Since:
April 29, 2019
sp_UserOfflineSmall Offline


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,

May 15, 2019
9:55, EEST
Bjarne Boström
Forum Posts: 382
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline


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).

DataChangeFilter filter = new DataChangeFilter();
May 15, 2019
11:24, EEST
New Member
Forum Posts: 2
Member Since:
April 29, 2019
sp_UserOfflineSmall Offline

Thanks Bjarne, that helps me!

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 78

Currently Online:
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 89

pramanj: 86

ibrahim: 68

kapsl: 57

gjevremovic: 49

TimK: 41

Fransua33: 39

fred: 36

Rainer Versteeg: 32

peterrob45: 25

Member Stats:

Guest Posters: 0

Members: 857

Moderators: 12

Admins: 1

Forum Stats:

Groups: 3

Forums: 14

Topics: 872

Posts: 3676

Newest Members:

virgie88y3407, bennetcole, timbo, malissa6674, Markus Johansson, jonathancamp, michell9665, bqpkelvin990391, Christopher, HuMa

Moderators: Jouni Aro: 827, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 382, Heikki Tahvanainen: 402, Jukka Asikainen: 1, Teppo Uimonen: 15, Markus Johansson: 1

Administrators: admin: 0