Skip to content

DataItemType and its sub types have incorrect ValueRank #3041

@saurla

Description

@saurla

Type of issue

  • Bug
  • Enhancement
  • Compliance
  • Question
  • Help wanted

Current Behavior

DataItemType has ValueRank 0 = OneOreMoreDimensions. Also all sub types of DataItemType have ValueRank 0. See attached image illustrating the problem Image.

Expected Behavior

Based on the specification (https://reference.opcfoundation.org/Core/Part8/v105/docs/5.3.1), DataItemType should have ValueRank -2 = Any.

Steps To Reproduce

  1. Compile ConsoleReferenceServer
  2. Start ConsoleReferenceServer
  3. Connect to ConsoleReferenceServer
  4. Read ValueRank Attribute of the DataItemType node (i=2365)
  5. Observe invalid ValueRank 0

Environment

- OS: Windows 11
- Environment: Visual Studio 2022
- Runtime: .NET
- Nuget Version: .NET 9.0
- Component: Not sure where the problem is, might be Opc.Ua.Core or UA-ModelCompiler
- Server: ConsoleReferenceServer
- Client: Ua Expert

Anything else?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions