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
Measure Delays of Subsriptions and PubSub
September 5, 2024
18:12, EEST
Avatar
Nicky
New Member
Members
Forum Posts: 1
Member Since:
September 5, 2024
sp_UserOfflineSmall Offline

Hello to all of you. I am currently writing my bachelor thesis on evaluating the performance of OPCUA Subscriptions and OPCUA PubSub. I am using open62541 for the implementation so I am not sure if this is the right forum to ask this but here it goes.

The setup will consist of three Raspberry Pi’s. One is hosting the server, one is running the client and the third is supposed to measure the timing delays as an independent clock. Right now I am simulating this on a local machine so everything is running on the same system. For the subscriptions I am using the server timestamps and then on clientside calculating the delay with UA_DateTime_now(). But I am afraid this will not work when client and server run on two different machines.

And now for the even bigger problem: I dont know how to measure the delays for PubSub even if Publisher and Subscriber are running on the same system. I have a callback in place for the TargetVariableNode but calculating this with the UA_DateTim_now() just yields a negative time and it does not change at all so it cant be valid.

Now my questoin is how would you go about measuring Subscription performance on two different systems? My idea was to use the GPIO pins and hardwire them to measure timing. But the question remains when to toggle them as there is no callback on the serverside ob subscriptions that gets called everytime you sample. Or is there? I dont know.

The other question is how to measure PubSub performance at all. On the same system or two different system I unfortunately have no clue how to about that. If you have any keywords for me to research or even example code I would be very greatful.

If you need more information or code please ask me.

September 6, 2024
10:02, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1032
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

The https://github.com/open62541/open62541/issues or https://groups.google.com/g/open62541 might be a better place to ask, as we do not know specifics of other SDKs than our own.

It would be easier to answer if you would use https://prosysopc.com/products/opc-ua-java-sdk/. Generally speaking the eval edition typically would work for thesis purposes (though discuss with sales and/or mention this on the request DL form). For example in our SDK you can get notifications from a ‘PubSubSystem’ whenever a new datasetmessage arrives.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
22 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: 734

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

Garmcrypto7Zof, calebhardison, susannahdingle7, inilarythikibia, rickykennion, PromotionToold, HypromeImpupe, toneylapham544, rondawolinski7, Marypof5711

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1