Reading matrix field in custom struct

Questions regarding the use of the UaExpert.

Moderator: uaexpert

Post Reply
dalevine
Full Member
Full Member
Posts: 5
Joined: 27 Jul 2020, 14:42

Reading matrix field in custom struct

Post 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

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: Reading matrix field in custom struct

Post 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.
Best regards
Unified Automation Support Team

Post Reply