-
When using the UaExpert 1.6.2 (released in March 2022), I started getting the following error: This can be seen running the example from asyncua . With UaExpert version 1.6.1 (Dez 2021), everything works fine. Screenshots are attached for comparison. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Realy strange in https://reference.opcfoundation.org/v104/Core/docs/Part3/8.51/ I found this:
So a ValueRank is legal... Also all our struct only contain ValueRank of 0 or -1 so no clue what ua expert is reading... Also i tried some things i noticed the following:
|
Beta Was this translation helpful? Give feedback.
-
@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.
These are the possible values for ValueRank on Variables
But n>1 is new and only supported if the DataType is described through the DataTypeDefinition attribute. If a DataTypeDictionary is used to describe a DataType, only Scalar or Array is available. The difference between older versions of UaExpert and newer Versions is that we switched from DataTypeDictionary to DataTypeDefinition attribute to be able to display structures. If the DataTypeDefinition Attribute has an invalid DataType description (as indicated by the log), it may explain the difference in the display. Any thoughts? |
Beta Was this translation helpful? Give feedback.
@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:
These are the possible values for ValueRank on Variables
For structure fields only the following values are …