TiVCLComponent.SetOPCItemItemName

TiVCLComponent

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

procedure
SetOPCItemItemName(Index: Integer, Value: String);

Description

Use the SetOPCItemItemName 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

iComponent.SetOPCItemItemName(0, 'Signal 1'); //1st OPC Item Name

C++ Builder

iComponent->SetOPCItemItemName(0, "Signal 1"); //1st OPC Item Name

Note: The Index value is 0 based.

Contents | Index | Previous | Next