Client SDK: Reading Structure
Posted: 16 Jul 2021, 14:36
Hi,
I'm trying to read structure with client. I'm using the client_cpp_sdk project.
I'm using OPC UA Demo Server.
Particullary, I'm trying to read the Variable (CarExtras under Root->Objects->Demo->000_Static->Scalar->Structures) with Identifier = Demo.Static.Scalar.CarExtras IdentifierType = String, NamespaceIndex = 2.
In UAExpert I see that the Node is a structure with 4 field: [0] air conditioner, [1] super charged, [2] launch control, [3] navigation system.
Using client_cpp_sdk example, I see that the same structure CarExtras has 2 fields with the name Value and ValidBits.
Why is the same structure seen in two different ways?
Thanks,
Lorenzo
I'm trying to read structure with client. I'm using the client_cpp_sdk project.
I'm using OPC UA Demo Server.
Particullary, I'm trying to read the Variable (CarExtras under Root->Objects->Demo->000_Static->Scalar->Structures) with Identifier = Demo.Static.Scalar.CarExtras IdentifierType = String, NamespaceIndex = 2.
In UAExpert I see that the Node is a structure with 4 field: [0] air conditioner, [1] super charged, [2] launch control, [3] navigation system.
Using client_cpp_sdk example, I see that the same structure CarExtras has 2 fields with the name Value and ValidBits.
Why is the same structure seen in two different ways?
Thanks,
Lorenzo