Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

First, establish a connection to the OPC UA server using the Connect method of the UaClient object. Then, browse the server address space using the BrowseNode method and find the parent node of the array. Once the parent node is located, use the GetChildren method to retrieve its child nodes. Find the node that represents the desired array node and use the ReadValue method to read its value. To navigate to individual elements of the array, use the GetIndexRange method and specify the array index to retrieve a subset of the array. Finally, use the ReadValue method to read the value of the individual array element.