Need help registering custom codec #1342
Replies: 1 comment
-
You've copied the convention used in the examples, which is fine when you are defining your own types for use in a server implementation, but in this case have to use exactly the NodeIds used by the server you are connecting to. The error suggests the encoding id is actually According to your screenshots the DataType id is actually something else. Manually coding structures in your client that are dynamically defined by the server isn't really one of the intentions. You should be letting the client read the datatype dictionary or DataTypeDefinition attribute (available in See:
|
Beta Was this translation helpful? Give feedback.
-
I'm trying to read 2 custom data types, one of them is embedded into the other
This is the UDT_IdentificationData:
This is a UDT_SemVer:
I looked at the example code and made the following classes
I'm registering them as follows:
I'm reading them as follows:
Which gives me the following output
What am I doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions