DataTypeDefinition attribute
Posted: 28 Jun 2021, 13:31
Hello!
I'm new to OPC UA. I need to parse data from DataTypeDefinition attribute? I have looked through examples, but didn't find the one how StructureDefinition is extracted. Based on my understanding, after reading a DataType Node (with attributeId =OpcUa_Attributes_DataTypeDefinition) I extract an ExtensionObject from UaVariant value. Then I somehow should get UaStructureDefinition object from the ExtensionObject. And I'm not sure how to do it.
I would be appreciated if an example can be posted for retrieving data from DataTypeDefinition attribute.
Thank you!
I'm new to OPC UA. I need to parse data from DataTypeDefinition attribute? I have looked through examples, but didn't find the one how StructureDefinition is extracted. Based on my understanding, after reading a DataType Node (with attributeId =OpcUa_Attributes_DataTypeDefinition) I extract an ExtensionObject from UaVariant value. Then I somehow should get UaStructureDefinition object from the ExtensionObject. And I'm not sure how to do it.
I would be appreciated if an example can be posted for retrieving data from DataTypeDefinition attribute.
Thank you!