You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to subtype the DataType "ResultMetaDataType" from the Result namespace.
So basically subtype a StructureWithOptionalFields.
For me it looks like the model compiler does not create the encoding for the subtype.
I have tried the same with the Siemens OpcUA Modeling Editor and it creates the "HasEncoding" References.
We are using the open62541 stack and the included XML NodeSet compiler that generates C code.
For the ResultMetaData it is correctly implementing the optional fields.
But for the subtype ExtendMetaDataType all fields are taken over as non optional.
My assumption is that the EncodingMask is missing in the NodeSet2 xml.
I have taken a look at the NodeSet2 again.
Could it be that the ModelCompiler just adds the encodings as a inverse reference instead of a forward one at the type?
I am not sure but this may be related to #202
I want to subtype the DataType "ResultMetaDataType" from the Result namespace.
So basically subtype a StructureWithOptionalFields.
For me it looks like the model compiler does not create the encoding for the subtype.
I have tried the same with the Siemens OpcUA Modeling Editor and it creates the "HasEncoding" References.
We are using the open62541 stack and the included XML NodeSet compiler that generates C code.
For the ResultMetaData it is correctly implementing the optional fields.
But for the subtype ExtendMetaDataType all fields are taken over as non optional.
My assumption is that the EncodingMask is missing in the NodeSet2 xml.
I am unsure what exactly wents wrong.
ModelDesign xml
Model compiler NodeSet2 xml
Siemens OPCUA Modeling Editor NodeSet2 xml
The text was updated successfully, but these errors were encountered: