dOPC Client Toolkit
Close
ua.complextypes.TuaStructureObject.Read

Reads data type information and values of a structured object.

function Read(Nodeid: string; ReadValue: boolean = true): boolean;
__fastcall boolean Read(AnsiString Nodeid, boolean ReadValue = true);

Reads data type information and values of a structured object from the OPC UA Server.

If the method returns without an exception, you can enumerate the fields of the object using the Fields property.

Type Parameters
Description
Nodeid: string
Name/Id of the node you want to read.
ReadValue: boolean = true
If it is true and the node is a variable, then the field values of the structured object will be read as well. If the method return without an exception then your enumerate the fields of the object with the property "Fields"
Kassl GmbH Copyright © 2024. All rights reserved.