dOPC Client Toolkit
Close
ua.client.TdOPCUAClient.Active

Connecting or disconnecting from the OPC UA server

property Active: boolean;
__property boolean Active;

This value must be set to True to establish a connection to a server and must set to False to disconnect from a server.

try if OPCUAClient.Active then AddInfo('Disconnecting ...') else AddInfo('Connecting ...'); OPCUAClient.Active := not OPCUAClient.Active; except on E: Exception do MOutput.Lines.Add(E.Message); end;
Kassl GmbH Copyright © 2019. All rights reserved.