TiOPCItem.UpdateRate

TiOPCItem

Used to get or set the requested OPC Item Update Rate for this OPC Item.

property
UpdateRate : Integer;

Description

Use UpdateRate to get or 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.OPCItem[0].UpdateRate := 100; //Sets 1st OPC Item Update Rate to 100ms

Value := iComponent.OPCItem[0].UpdateRate; //Gets 1st OPC Item Update Rate

C++ Builder

iComponent->OPCItem[0]->UpdateRate = 100; //Sets 1st OPC Item Update Rate to 100ms

Value = iComponent->OPCItem[0]->UpdateRate; //Gets 1st OPC Item Update Rate

Contents | Index | Previous | Next