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
MaxAge parameter
April 23, 2018
17:26, EEST
Avatar
Mike.Stair
Member
Members
Forum Posts: 12
Member Since:
January 12, 2018
sp_UserOfflineSmall Offline

Hi everyone!

I have some questions about the maxAge parameter used by the Uaclient.Read () method

I read in the javaDoc that: “If the Server does not have a value that is within the maximum age, it will be read to new value from the data source.”
– How do you manage the maxAge parameter of the Uaclient.Read () method on the server side? do I have to use IoManagerListener?
– The minTimestamp parameter in the IOManagerlistener.OnReadValue () method refers to the maxAge?

Another point: “If maxAge is set to 0, the server is attempted to read from the data source if maxAge is set to MAX_CACHE_AGE, the server will try to get a cached value. “
– Cache value refers to cacheVariable?

Regards,
Mike

April 26, 2018
17:02, EEST
Avatar
Heikki Tahvanainen
Member
Members
Forum Posts: 402
Member Since:
April 17, 2013
sp_UserOfflineSmall Offline

Hi,

The server side SDK does not do automated handling of maxAge parameter. It’s an application level issue to decide how the value is read. In other words, you can react to the maxAge parameter in the IoManagerListener but you don’t have to react if you don’t want to.

The minTimestamp parameter is basically the same thing as maxAge but just in a more convenient format. The server side SDK calculates this value based on the maxAge parameter supplied by the client.

The cacheVariable is a specific class in Prosys OPC UA Java SDK. The mentioned part of specification means cache as an abstract concept which the server application can implement. The purpose of the maxAge parameter is that the client application can give a hint to the server application if it’s important that the value is recent.

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: 729

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala

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

Administrators: admin: 1