Page 1 of 1

Reading matrix field in custom struct

Posted: 31 Aug 2021, 15:19
by dalevine
UAExpert 1.5.1 incorrectly decodes a custom struct which contains a field that is a matrix of values.
The type information uses v1.04 DataTypeDefinition attributes to define the type, and the type does not appear in the DataTypeDictionary (v1.03 format)

In the test case I tried, the custom struct has 3 fields
string
double[2,3]
double

It showed the 1st string value correctly but everything after that was wrong. It looks as if it expected an array, not a matrix, and interpreted the matrix dimensions as the value in field 0

Re: Reading matrix field in custom struct

Posted: 07 Sep 2021, 12:41
by Support Team
Hello,

The support for matrix in structures is relatively new and not supported in the version of UaExpert.
To support this is a bigger ToDo on the list for future releases but it is not completed yet.