dOPC Client Toolkit
Close
ua.filestream.TuaByteStringStream.LoadFromOPCServer

Use to load a file from an OPC UA server.

procedure LoadFromOPCServer(OPCClient: TdOPCUaClient; NodeId: string);
__fastcall LoadFromOPCServer(TdOPCUaClient OPCClient, AnsiString NodeId);

If you want to load a file from an OPC UA server you have to use this method. 

After successful execution, you will find the result in the Bytes property 

 

Parameter
Description
OPCClient
The reference to an active TdOPCUAClient object.
NodeId
The nodeid must be an object class with the definition type FileType, otherwise you will get an exception.
dOPC version 5.33. Copyright © 2025 by Kassl GmbH.