04/09/2019
I have been working on implementing a client for the OPC UA PubSub Part 14, Version 1.04 and so far I managed to fully implement parsing of the DataSetMetaData. I have access to some sample data and the parsing of the MetaData looks okay so far. Now I have to do the next steps which is parsing the DataSetMessage and I have already started with the implementation, but looking at the Spec, I have few questions on the overall machinery.
Where is the Spec is it mentioned about how I should use the parsed DataSetMetaData to actually use it to later on parse the DataSetMessage? So from the bytes that I get as input, I have an internal object representation of my DataSetMetaData. How can I use it to parse the DataSetMessage? Can anyone point me to the corresponding description in the specification to understand how to do this?
04/09/2019
@Randy Unfortunately that answer does not help! I understand that Part 6 has all the information on how to encode, decode the BuiltInDataTypes, but my question was how should I use the DataSetMetaData to parse the DataSetMessage? What role does the DataSetMetaData play? If nothing then why does the Spec deal with DataSetMetaData at all?
05/30/2017
If you are not dealing with Raw encoding then the DataSetMetaData is not needed. It just gives you information that make be useful when figuring out what to do with the data but it is not needed for decoding.
If you are dealing with a raw encoding the DataSetMetaData gives you the number, order, datatype and valuerank of each field in the message.
1 Guest(s)