dOPC Client Toolkit
Close
dOPCComn.TdOPCServerBrowser.Execute

Execute gets all OPC servers from the given ComputerName.

procedure Execute(WithTypes: boolean = true);
__fastcall Execute(boolean WithTypes = true);
Parameters
Description
WithTypes: boolean = true
true = fills property type of TdOPCDAClientItem elsewhere type is set to empty []
ServerBrowser.Computername := 'RemotePC'; ServerBrowser.Execute; //get server list from given Computer for i := 0 to ServerBrowser.Count-1 do //for each server in list begin with ServerBrowser[i] do Memo1.Lines.Add(format('Servername: %s ClassId %s',[ServerName,ServerClsId])); end;
Kassl GmbH Copyright © 2024. All rights reserved.