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: 1009
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: 1009
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: 518

Currently Online:
30 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

ibrahim: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 682

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6259

Newest Members:

fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com, aytule, rashadbrownrigg, christi10l, ahamad1, Flores Frederick, ellenmoss

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

Administrators: admin: 1