TiOPCItem.AutoError

TiOPCItem

Used to specify whether or not the ErrorActive property is automatically updated according to the OPC data quality.

property
AutoError : Boolean;

Description

Use AutoError to specify whether or not the ErrorActive property is automatically updated according to the OPC data quality.

When AutoError is TRUE, if the Quality of the OPC data is not good, the ErrorActive property will automatically be set to TRUE to trigger the component to display an error condition. If the OPC data Quality is good, then ErrorActive will automatically be set to FALSE.

Important Note: currently, only the TiAnalogOutput, TiEdit, TiModeComboBox, and TiAnalogDisplay components implement the Error State properties, and therefore only these components make use of AutoError.

Example

Delphi

iComponent.OPCItem[0].AutoError := True;

C++ Builder

iComponent->OPCItem[0]->Active = True;'

Contents | Index | Previous | Next