TiOPCItem.ItemName

TiOPCItem

Used to get or set the OPC Item Name associated with this OPC Item.

property
ItemName : String;

Description

Use ItemName to get the OPC Item Name of this OPC Item. 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 ServerName property.

Example

Delphi

iComponent.OPCItem[0].ItemName := 'Signal 1'; //Sets the 1st OPC Item's Name

Value := iComponent.OPCItem[0].ItemName; //Gets the 1st OPC Item's Name

C++ Builder

iComponent->OPCItem[0]->ItemName = "Signal 1"; //Sets the 1st OPC Item's Name

Value = iComponent->OPCItem[0]->ItemName; //Gets the 1st OPC Item's Name

Contents | Index | Previous | Next