TiVCLComponent.SetOPCItemUpdateRate

TiVCLComponent

Used to set the requested OPC Item Update Rate for the specified OPC Item.

procedure
SetOPCItemUpdateRate(Index: Integer, Value: Integer);

Description

Use the SetOPCItemUpdateRate to set the Update Rate in milliseconds that is specified for this OPC Item. The Update Rate is the desired update rate, though it depends on whether or not the OPC Server actually can support or will accept this rate, for updating the OPC Item property with the OPC Server.

Example

Delphi

iComponent.SetOPCItemUpdateRate(0, 100); //1st OPC Item Update Rate at 100ms

C++ Builder

iComponent->SetOPCItemUpdateRate(0, 100); //1st OPC Item Update Rate at 100ms

Note: The Index value is 0 based.

Contents | Index | Previous | Next