TiVCLComponent.OPCItemUpdateSuspend

TiVCLComponent

Used to instruct the connected OPC Server to suspend sending updates to the component without disconnecting from the OPC Server.

procedure
OPCItemUpdateSuspend(Index: Integer);

Description

Use OPCItemUpdateSuspend to instruct the connected OPC Server to suspend sending updates to the component without disconnecting from the OPC Server.

This method is useful if you simply want to temporarily suspend the sending of update by the OCP server without going through the overhead associated with deactivating and then reactivating the OPC connection. To resume updates from the OPC Server, call OPCItemUpdateResume.

Example

Delphi

iComponent.OPCItemUpdateSuspend(0); //Suspends Updates for the 1st OPC Item

C++ Builder

iComponent->OPCItemUpdateSuspend(0); //Suspends Updates for the 1st OPC Item

Note: The Index value is 0 based.

Contents | Index | Previous | Next