TiVCLComponent.OPCItemDeactivate
TiVCLComponent
Used to deactivate a connection between the specified OPC Item and the OPC
Server.
procedure OPCItemDeactivate(Index: Integer);
Description
Use the OPCItemDeactivate to manually deactivate a connection between the
specified OPC Item and the OPC Server.
If you need automatic control over when the connections are made and
disconnected between the Component and the OPC Server, use SetOPCItemAutoConnect procedure to set the AutoConnect to TRUE so that a connection to the OPC
Server is made automatically during streaming/loading of the component.
Example
Delphi
iComponent.OPCItemDeactivate(0); //Disconnect 1st OPC Item
C++ Builder
iComponent->OPCItemDeactivate(0); //Disconnect 1st OPC Item
Note: The Index value is 0 based.
Contents | Index | Previous | Next