0
Fixed
Read Node not getting values for arrays
Hello,
i´m using the OPCUA4Unity standalone package to communicate with my opc server.
Everything is setup correctly and i can connect to the server, import and read nodes.
Unfortunatly i cant get values for arrays though.
Example for the absolutePosition node:
The OPCUA_Node is recognizing that the node is an Array, but still wont fill in any actual values.
I doublechecked the values of the node using the OPCWatch tool:
I cant find anything related in the forums or the documentation.
How to handle arrays?
Kind regard
Mike
Customer support service by UserEcho
Don't know why the array is not imported on your side. Can you try manually setting the array Nodes like this:
Hello, thanks for the response.
Tried setting it up as shown in your screenshot for a test node - no luck so far.
Hierarchy:
testStringArray1d:
testStringArray1d[1]:
testStringArray1d node:
Anything i´m missing here?
Kind regards
Mike
Will check it this afternoon on my computer.
Hi Mike,
I checked, you are right, the arrays have not been updated in the Inspector List of OPCUA Node. We will publish this with an official update next week. Will also extend the documentation for arrays. I will send you with a private message a full OPCUA Update including an example how to read an array with code by subscribing to it.
Best regards
Thomas
Hi Thomas,
thanks for the quick solution.
Ill tryout the updated version.
Kind regards
Mike