dOPC Client Toolkit

Browse for OPC DA Servers

procedure GetOPCDAServers(Strings: TStrings; Protocol: tdOPCConnectionType = coCOM);
GetOPCDAServers(TStrings Strings, tdOPCConnectionType Protocol = coCOM);

GetOPCDAServer browse the registry for OPC DA Servers.

var i: integer; Serverlist: TStringlist; begin Serverlist := TStringlist.Create; GetOPCDAServers(Serverlist,coUA); for i := 0 to Serverlist.Count-1 do ShowMessage(Serverlist[i]); ServerList.Free; end;
Kassl GmbH Copyright © 2024. All rights reserved.