Address space events/notifications|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Address space events/notifications
Avatar
Sascha Kattelmann
Member
Members
Forum Posts: 16
Member Since:
07/09/2019
sp_UserOfflineSmall Offline
1
09/04/2019 - 01:40
sp_Permalink sp_Print

I have a question which popped up while cross reading the NodeManagement spec in part 4 and the general event Model in part 3. As far as I understand the event model is tied to a node, e.g. only a Node is able to emit an event (or notifications about data changes).

Is there also such a concept for the address space itself? The scenario I had in mind was a client creating new nodes or references which a server might have to care about and hence having "meta events" about such address space changes might be a thing in OPC UA. Regarding the specs I cannot see such a concept since everything is node based, but I really want to clear this question up since this is quite important regarding implementation architectures.

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
09/04/2019 - 05:09
sp_Permalink sp_Print

The "Server" node is a special Event Notifier that reports all events no matter what Notifier they are associated with.

Any global event events are reported by the Server node too (i.e. i.e. the SourceNode = Server).

Avatar
Zbynek Zahradnik
Member
Members
Forum Posts: 62
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
3
09/04/2019 - 05:55
sp_Permalink sp_Print

Look at 6.5.7 Auditing for NodeManagement Service Set in Part 4 (version 1.04) of the spec. In servers that support it, each change you are concerned about generates an event of AuditNodeManagementEventType or a subtype.

Avatar
Sascha Kattelmann
Member
Members
Forum Posts: 16
Member Since:
07/09/2019
sp_UserOfflineSmall Offline
4
09/04/2019 - 08:34
sp_Permalink sp_Print

Hey again, thanks for the quick response!

My question was not so much about how events are routed, even though I didn't know about the special role of the server node here. I was talking more about if there are special "meta events" about address space changes like the creation of a new node, done e.g. via the node management service set. What do you mean by global events?

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
5
09/04/2019 - 12:53
sp_Permalink sp_Print

Global events are any event that is not associated with a single node. i.e. global events include your meta events.

Avatar
Sascha Kattelmann
Member
Members
Forum Posts: 16
Member Since:
07/09/2019
sp_UserOfflineSmall Offline
6
09/05/2019 - 02:46
sp_Permalink sp_Print

zbynekz said
Look at 6.5.7 Auditing for NodeManagement Service Set in Part 4 (version 1.04) of the spec. In servers that support it, each change you are concerned about generates an event of AuditNodeManagementEventType or a subtype.

OK, thanks for the hint! So this is an example of global events which you can trace. But ... those events are just for auditing (in the end you just want to read those events). Are there also global events which trigger further logic on e.g. other services?

 

Randy Armstrong said
Global events are any event that is not associated with a single node. i.e. global events include your meta events.

Are you refering to the audit events?

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
7
09/05/2019 - 05:54
sp_Permalink sp_Print

Audit events are another type of global event.

If an event is not related to a single notifier then it is reported via the server object.

Avatar
Sascha Kattelmann
Member
Members
Forum Posts: 16
Member Since:
07/09/2019
sp_UserOfflineSmall Offline
8
09/05/2019 - 15:07
sp_Permalink
Awaiting Moderation

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 23
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855