TiOPCItem.Deactivate
TiOPCItem
Used to deactivate a connection between this OPC Item and the OPC Server.
procedure Deactivate();
Description
Use the Deactivate 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 AutoConnect property to TRUE so that a connection to the OPC Server is made automatically
during streaming/loading of the component.
Example
Delphi
iComponent.OPCItem[0].Deactivate; //Disconnect 1st OPC Item
C++ Builder
iComponent->OPCItem[0]->Deactivate; //Disconnect 1st OPC Item
Contents | Index | Previous | Next