Skip to content

Bug in UaExpert dealing with nested struct types #944

Answered by danmoser
danmoser asked this question in Q&A
Discussion options

You must be logged in to vote

@schroeder- , I finally got a reply for Unified-Automation:

A ValueRank of 0 is invalid for structure fields, this is why the log is an error.
General definition of ValueRank values is:

Scalar (−1): The value is not an array
OneDimension (1): The value is an array with one dimension.
n > 1: the Value is an array with the specified number of dimensions
OneOrMoreDimensions (0): The value is an array with one or more dimensions
Any (−2): The value can be a scalar or an array with any number of dimensions
ScalarOrOneDimension (−3): The value can be a scalar or a one dimensional array.

These are the possible values for ValueRank on Variables
For structure fields only the following values are …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@danmoser
Comment options

Comment options

You must be logged in to vote
2 replies
@schroeder-
Comment options

@danmoser
Comment options

Answer selected by danmoser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants