15:59, EET
February 21, 2014
Hi,
according to the specification, a server shall not send data changes with a higher update rate than requested by the client with the minimumSamplingInterval. The Server SDK doesn’t seem to respect this. Updates are sent always at the highest update rate.
Inside the my server, the variables are either updated by using the UaVariableOfSomeKind.setValue() method or by using notifyDataChange() on a monitoredItem. NotifyDataChange() should still engage the dataChangeFilter mechanism, I think.
Can the above behavior be corrected by overwriting the defaults using any of the available handlers?
PS: the publishingInterval of the subscription in the above scenarios is shorter than the requested samplingInterval
Thanks,
Hans-Uwe
7:38, EET
December 21, 2011
10:31, EET
April 3, 2012
Will do after 2.2.2 release is done. It seems implementing this may take some time/changes on how the data changes are notified to the Subscription from MonitoredDataItems.
Probably the easiest way to get this working until a fix is made is to limit the data values sent to .setValue or notifiyDataChange to the samplinginterval in the application specific code.
– Bjarne
Most Users Ever Online: 1919
Currently Online:
14 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: 729
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
PromotionToold, HypromeImpupe, toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachusModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1