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
Need clarification on DataChange Notification behavior
May 6, 2019
12:20, EEST
Avatar
dipankar.invi@gmail.com
Member
Members
Forum Posts: 16
Member Since:
December 6, 2018
sp_UserOfflineSmall Offline

Hi Experts,

While testing the behavior of dataChange notifications by using prosys simulation server and prosys opc ua client I have noticed that if I set the publishing interval of subscription settings to 1000 ms and sampling interval of monitoredDataItem to 20000ms and queue size to 1 with discard oldest to true, I’m getting messages/notifications on each second which basically seems like it is not honoring the sampling interval at all .

As per my understanding from documentation(correct me if I’m wrong) sampling interval specifies the polling interval on which server samples the data from source and pushes it to queue and finally on publish interval flushes the queue and deliver the notifications to the client. Now as per the above scenario , since the polling or sampling interval in 20000 server should poll on that interval and because of which we should not get any updates or notifications during the time gap of the sampling and publish interval.

Kindly help me clear the above doubt.
Thanks in advance.Smile

Dipankar.

May 6, 2019
14:27, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 982
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

Your observation is correct. To put it shortly we don’t yet support that scenario very well in our SDK. The plan is to eventually support that, but it requires some internal changes to do actual sampling that way. I can go into more SDK details if needed, but basically in the typical scenario we (only) simulate sampling whenever new values are detected on the UaNodes, which is the case with SimulationServer.

Do you have a use-case, in which it would be useful and simply using a larger publishinginterval wouldn’t work?

P.S.
It is doable, see the MyBigNodeManager SDK sample, assuming you manually limit MonitoredDataItems by your code to only get updates on the sampling rate. However it is a bit more lower-level API to work with.

May 6, 2019
15:26, EEST
Avatar
dipankar.invi@gmail.com
Member
Members
Forum Posts: 16
Member Since:
December 6, 2018
sp_UserOfflineSmall Offline

Thanks Bjarne for the response. It was very helpful. Smile
Currently we don’t have such scenario. Came to this scenario while testing our prosys opc ua compliant product for different possibilities.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 75

ibrahim: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 707

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1466

Posts: 6253

Newest Members:

christi10l, ahamad1, Flores Frederick, ellenmoss, harriettscherer, shanonhumphreys, KupimotoblokfuB, tamhollander5, paulinafcf, bridgette18l

Moderators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 982, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 319, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1