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
Server doesn't seem to respect client's minimumSamplingInterval
February 15, 2016
15:59, EET
Avatar
hbrackel
Member
Members
Forum Posts: 135
Member Since:
February 21, 2014
sp_UserOfflineSmall Offline

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

February 16, 2016
7:38, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1010
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Yes, this is a current limitation of the SDK: it does not support SamplingInterval longer than PublishingInterval for monitored items.

We will address this soon.

February 18, 2016
10:31, EET
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 983
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

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

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 682

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6261

Newest Members:

digitechroshni, LouieWreve, Kickbiche, karrimacvitie5, graciela2073, sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma

Moderators: Jouni Aro: 1010, 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