dOPC Client Toolkit
Close
dOPCComn.TdOPCClient.SetParam

With is method you can set a special connection parameter for UA or XML connections.

procedure SetParam(Param: string; Value: string);
__fastcall SetParam(AnsiString Param, AnsiString Value);
if cLoginMode.ItemIndex > 0 then // if you want authentication (user or certificate) begin dOPCDAClient1.SetParam('ua-usermode', cLoginMode.ItemIndex.ToString); dOPCDAClient1.SetParam('ua-user', eUser.Text); // user name dOPCDAClient1.SetParam('ua-pass', ePass.Text); // user password end;

Property Params

Kassl GmbH Copyright © 2019. All rights reserved.