Hello,
In my educational prototype project I have used C# code to create custome ObjectType nodes and Object nodes(by instantiating ObjectType nodes).
I realized that it is a lot of code difficult to extend and to maintain. Is there any way you can suggest creating Object and ObjectType nodes using xml file so that for creating and managing nodes will be sophisticated?
Thanks,
Jack
Dynamic (Object and ObjectType) nodes using xml schema
Moderator: uasdknet
-
- Hero Member
- Posts: 32
- Joined: 02 Sep 2016, 16:14
Dynamic (Object and ObjectType) nodes using xml schema
Thanks and best regards,
Jack
Jack
- Support Team
- Hero Member
- Posts: 3073
- Joined: 18 Mar 2011, 15:09
Re: Dynamic (Object and ObjectType) nodes using xml schema
Hello Jack,
You can load NodeSet2 XML files (schema http://opcfoundation.org/UA/2011/03/UANodeSet.xsd) that contains the nodes for types and instances. UaModeler supports this file format. Here all nodes including all attributes and references are described for a model.
Alternatively you can create an own XML format which contains only the information needed for describing types and instances.In this case you need to parse the XML file and call CreateObject with the parsed data.
You can load NodeSet2 XML files (schema http://opcfoundation.org/UA/2011/03/UANodeSet.xsd) that contains the nodes for types and instances. UaModeler supports this file format. Here all nodes including all attributes and references are described for a model.
Alternatively you can create an own XML format which contains only the information needed for describing types and instances.In this case you need to parse the XML file and call CreateObject with the parsed data.
Best regards
Unified Automation Support Team
Unified Automation Support Team