Model design for the usage of events|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
Model design for the usage of events
Avatar
Mario Kilger
New Member
Members
Forum Posts: 1
Member Since:
09/27/2021
sp_UserOfflineSmall Offline
1
09/28/2021 - 02:00
sp_Permalink sp_Print

Hello together,

 

I have a question regarding the model design in order to be able to use events on my OPC-UA Server (.NET, 1.4.363.0).

 

My model is built from two .xml files - using the Model Builder: 

  • an Instance Design
  • an Type Design 

In my types design I have created own object types, e.g. "ExampleEventType" which has the BaseType "BaseEventType".

 

My model should have the following structure:

  • A (root, entry node; type: object; SupportsEvent = true) 
    • B (type: object; SupportsEvent = true)
    • C
    • D
    • ..

For example the node "B" should be able to raise an event from type "ExampleEventType"

 

Is it right that:

  • "B" has a GeneratesEvent reference with target "ExampleEventType" 
  • "A" has a HasNotifier reference with target "A_B"
  • The event is constructed, initialized, gets set its child values and is reported by the server as shown in .NET Example "Quickstart SimpleEvents Server"

Forthermure, I am wondering why the Alias GeneratesEvents is not listed in NodeSet2.xml, although it is used in the file.Confused

Thank you very much for your help!

 

BR

Mario

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
09/28/2021 - 07:00
sp_Permalink sp_Print

It is not clear what the question is.

What you doing seems reasonable.

The aliases in the NodeSet have no relationship to the names in ModelDesign file.

The NodeSet has a fixed set of common references that have aliases defined.

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