Closed ebrithiljonas closed 4 years ago
This is not officially supported yet, but there’s a WIP node set parser and a comment explaining how it can be used here: https://github.com/digitalpetri/opc-ua-nodeset-parser/issues/7#issuecomment-609451277
I do plan to have better support for this in the future, either as part of Milo or part of a final version of that library.
@achintya-kumar could you elaborate one how you did this for us?
I should clarify: the comment and code I linked to will load a NodeSet XML into an address space, but it does not have anything to do with generating ObjectType or VariableType nodes or struct instances for a given NodeSet. That is a separate concern.
So basically it is not possible to generate Object- and VariableTypes from an xml file with the current version?
So basically it is not possible to generate Object- and VariableTypes from an xml file with the current version?
It's not, and the code generators I am building will not be part of the Milo project.
They may be open source but I won't decide that until they are done.
Whatever happens, I think I will generate and publish any official companion spec models, regardless of how the code generator ends up being licensed.
Okey, thank you for the quick replies and the clarification.
Is it possible to load NodeSets from the official OPC Foundation repository into Milo? And if not, is that feature planned? BEcause it would make it much easier to define types for special cases like the umati standart.