TiVCLComponent.GetOPCItemPropertyName

TiVCLComponent

Used to get the Component Property associated with a specified OPC Item.

procedure
GetOPCItemPropertyName(Index: Integer ) : String;

Description

Use the GetOPCItemPropertyName to get the OPC Item Property of a particular OPC Item specified by the Index parameter. The OPC Item Property is the Component Property (Such as Position in some components) that is being connected to an OPC Server's configuration or hardware signal. The OPC Item Name (The OPC configuration or hardware signal) for the item is specified by the SetOPCItemItemName procedure.

Example

Delphi

Value := iComponent.GetOPCItemPropertyName(0); //1st OPC Item Component Property Name

C++ Builder

Value = iComponent->GetOPCItemPropertyName(0); //1st OPC Item Component Property Name

Note: The Index value is 0 based.

Contents | Index | Previous | Next