Closed bevanweiss closed 1 week ago
Hello,
I would leave this as an implementation defined by whomever implements the server instead of via SDK via HandleReadRequest
. Many lightweight applications won't populate fields NodeVariable
to add to the default address space. Instead, they maintain a lightweight Dictionary<NodeId,...>
for their own nodes. HandleReadRequest
should return values for fields as necessary, nor BadAttributeIdInvalid/BadNotImplemented
as allowed by their use cases.
According to: https://reference.opcfoundation.org/Core/Part5/docs/5.3
However for some of the OPC-UA NodeSets which specify a ValueRank of > 0, there is no returned ArrayDimensions![image](https://github.com/user-attachments/assets/1189f325-57db-4c1f-8bc0-700849c8a616)
My thought is that this could be implemented as something like the below. However I'm not sure on the best way of getting the value for all the various type of NodeVariable definitions (many of which only have value because of it being returned from HandleReadRequestInternal).