Issue with encapsulated Arrays in Structure #1022
Replies: 12 comments 6 replies
-
i forgot to mention that the structure context is correctly filled maybe because its not an array Type. |
Beta Was this translation helpful? Give feedback.
-
All of the actual encoding is done by your codec implementations for each of the structures - can you share those? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
With CodecSubClass
|
Beta Was this translation helpful? Give feedback.
-
everytime i reach here the tracks array is non Zero-lenght. |
Beta Was this translation helpful? Give feedback.
-
Ah im sorry the debug picture is taken from a Structure (ChartStructType Array see Ua expert picture) wich comes before. Funnily here the tracks structure works fine, but when it comes to EnvelopeStructType i have the mentioned issue. But i double checked that the tracks array is non Zero-lenght for all breaks. |
Beta Was this translation helpful? Give feedback.
-
this goes faster than i can type :) i apprechiate your help. |
Beta Was this translation helpful? Give feedback.
-
Before any more hair pulling, can you see if Prosys OPC UA Browser also sees the same thing as UaExpert? If it does, then my next guess would be maybe something going wrong encoding the Or perhaps a mismatch in the definition you advertise for each structure vs. how you actually encode it, causing decoders to end up at the wrong index in the stream. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
You are the Hero of my Day !!! Thanks a lot |
Beta Was this translation helpful? Give feedback.
-
Hello I have a komplex Structure so it's a little bit difficult to explain where the issue lies. On my milo Server which contains an Array of a Structure (enevelopeStructType) I have Another Array Structure (trackStructType) wich is included into A Structure (chartStructType) wich is included into the envelopeStructType . I put an UA-Expert screen so maybe you can follow me :). So when i Init my top structure with dummy data. The First tracks child is filled correctly but the second tracks child shows empty data. The data is correct while debugging but when it comes to encoding i can't follow anymore where the data gets lost. ```
So maybe someone could check if he/she has the same behaviour with a similar encapsulated Array Structure. Thanks in Advance
Beta Was this translation helpful? Give feedback.
All reactions