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
Non-deterministic instructions
June 29, 2018
16:11, EEST
Avatar
Mike.Stair
Member
Members
Forum Posts: 12
Member Since:
January 12, 2018
sp_UserOfflineSmall Offline

Hi,
For a university exam I am analyzing which non-deterministic mechanisms may be influencing my OPC-UA server application implemented with SDK java.

Some sources are certainly: input (client requests, sensor readings), network and Java.

I wonder if there can be some instructions at the SDK level that recall hardware or special mechanisms such as random number generation or timers.

I believe that if so their use could lead to an execution not deterministic (if not properly used naturally)

regards
Mike

July 4, 2018
10:30, EEST
Avatar
Heikki Tahvanainen
Moderator
Members

Moderators
Forum Posts: 402
Member Since:
April 17, 2013
sp_UserOfflineSmall Offline

Generally speaking this is a very broad question. However, I’ll try to answer on a high-level.

First thing to consider is that the Prosys OPC UA Java SDK is not designed to be deterministic in its execution. It’s expected that program execution cannot be guaranteed when using non-realtime operating systems and JREs.

Also, it’s good to consider that the normal Client-Server communication model of OPC UA does not make any requirements about deterministic behaviour. As an example, there’s no requirements that subscriptions should provide the exactly same notification message stream from the same measurements (for example sensor reading). As a second example, the OPC UA specification doesn’t mandate that write requests or read requests coming to the server even need to be handled in the order that they came in.

All this being said, if there would be only one client application which connects to a server and doesn’t use subscriptions, then the program execution should be deterministic in behaviour.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

ibrahim: 75

rocket science: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

TimK: 41

Member Stats:

Guest Posters: 0

Members: 708

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1465

Posts: 6252

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