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
When will then onConditionRefresh be fired
July 24, 2019
11:02, EEST
Avatar
HuMa
New Member
Members
Forum Posts: 1
Member Since:
July 24, 2019
sp_UserOfflineSmall Offline

Hi.
I’m programming an OPC UA Server with your SDK, and have a problem with the events. When the Client executes the “ConditionRefresh” Method, the server provides the requested Data ( RefreshStartEvent / RefreshEndEvent) , but the “onConditionRefresh” in “MyEventManagerListener” is not fired.
The “onAcknowledge” and “onComment” works well.
I use the SampleConsoleServer (Version 4.0.2-808) as Template.
Is there something special to do, to get the “onConditionRefresh” ?
Or is there an other possibility for the server to get informed, when a Client calls the “ConditionRefresh” method.

July 24, 2019
13:12, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Thanks for the report. Sounds like this could be a regression issue with the new release. We will check it and get back to it.

It is probably not possible to overcome it easily on the application level, but if we manage to fix it, we can provide you a new beta update to verify and get forward in your application. Please contact uajava-support by email about the issue, so we can provide the possible fix to you as soon as possible.

July 25, 2019
13:19, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

OK, we figured the problem – or details of the feature. “onConditionRefresh()” is only called for the EventManagerListener of NodeManagerRoot – not for all NodeManagers. So you will have to set a separate listener with

server.getNodeManagerRoot().getEventManager().setListener(…)

Not very convenient and should be considered that all listeners in all NodeManagers would be triggered.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
14 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:

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

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

Administrators: admin: 1