TiVCLComponent.GetOPCItemItemName

TiVCLComponent

Used to get the OPC Item Name associated with a specified OPC Item.

procedure
GetOPCItemItemName(Index: Integer ) : String;

Description

Use the GetOPCItemItemName procedure to get the OPC Item Name of a particular OPC Item specified by the Index parameter. The OPC Item Name is the name of a configuration or hardware signal from an OPC Server. The OPC Server for the item is specified by the SetOPCItemServerName procedure.

Example

Delphi

Value := iComponent.GetOPCItemItemName(0); //1st OPC Item Name

C++ Builder

Value = iComponent->GetOPCItemItemName(0); //1st OPC Item Name

Note: The Index value is 0 based.

Contents | Index | Previous | Next