Traeger-GmbH / opcuanet-samples

Sample projects for C#, VB.NET and C++/CLI to guide developers using our OPC UA .NET SDKs.
https://opcua.traeger.de
MIT License
88 stars 39 forks source link

AE.Server EventNotifier and source hierarchy #6

Open xsIceman opened 2 years ago

xsIceman commented 2 years ago

From 6.2 EventNotifier and source hierarchy https://reference.opcfoundation.org/v104/Core/docs/Part9/6.2/ It says "The Server Object shall be the root of this hierarchy." if this is to be followed should the AE.Server example be updated so that machineOne node sends event to server? https://github.com/Traeger-GmbH/opcuanet-samples/blob/master/cs/Basic/Server.AE/SampleNodeManager.cs with current example code i get this: image

and when following example from> https://docs.traeger.de/en/software/sdk/opc-ua/net/client.development.guide client.SubscribeEvent(OpcObjectTypes.Server, HandleGlobalEvents); I will not get events on alarms generated under machineOne.

with this line added: this.AddNotifierNode(machineOne); i get this> image