TiOPCItem.UpdateSuspend

TiOPCItem

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

procedure
UpdateSuspend();

Description

Use UpdateSuspend 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 for this item, call UpdateResume.

Example

Delphi

iComponent.OPCItem[0].UpdateSuspend; //Suspends Updates for the 1st OPC Item

C++ Builder

iComponent->OPCItem[0]->UpdateSuspend; //Suspends Updates for the 1st OPC Item

Contents | Index | Previous | Next