Get compilation output from ModelCompiler into .NET OPC-UA Server|OPC UA Implementation: Stacks, Tools, and Samples|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
Get compilation output from ModelCompiler into .NET OPC-UA Server
Avatar
Matthias Drexler
New Member
Members
Forum Posts: 1
Member Since:
01/23/2018
sp_UserOfflineSmall Offline
1
07/23/2018 - 04:46
sp_Permalink sp_Print sp_EditHistory

I used the ModelCompiler from [1] to compile my information model. Now, I am looking for a way to import the information model into my .NET Server (based on the .NET Core Server Sample from [2]) including the .NET OPC-UA Stack as NuGet package [3].

The Boiler, MemoryBuffer, and TestData samples use a dedicated node manager (which inherit from SampleNodeManager). My first idea was to write such a dedicated node manager (which inherits from CustomNodeManager2) for my information model, but this seems to be complicated.

There seem to be simpler ways than writing a node manager (cf. [4] for node.js servers). The .NET implementation offers some methods to parse the files containing the predefined nodes [5] or alternatively the NodeSet2 file [6] to NodeStateCollection. Which steps are needed with the parsed NodeStateCollection to make the nodes known to the .NET Server?

 

[1] https://github.com/OPCFoundation/UA-ModelCompiler

[2] https://github.com/OPCFoundation/UA-.NETStandard

[3] https://www.nuget.org/packages/OPCFoundation.NetStandard.Opc.Ua/

[4] https://stackoverflow.com/questions/40866428/how-can-i-generate-a-server-addressspace-from-a-xml-nodeset-file/

[5] https://stackoverflow.com/questions/49983225/populating-opcua-address-space-with-nodes-from-an-xml-schema/

[6] https://stackoverflow.com/questions/43944903/free-opc-ua-server-with-model-import-feature/

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
07/23/2018 - 05:39
sp_Permalink sp_Print

If this is a feature request you should post on GitHub.

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