TiVCLComponent.GetOPCItemUpdateRate

TiVCLComponent

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

procedure
GetOPCItemUpdateRate(Index: Integer ) : Integer;

Description

Use the GetOPCItemUpdateRate to get 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

Value := iComponent.GetOPCItemUpdateRate(0); //1st OPC Item Update Rate

C++ Builder

Value = iComponent->GetOPCItemUpdateRate(0); //1st OPC Item Update Rate

Note: The Index value is 0 based.

Contents | Index | Previous | Next