TiOPCItem.PropertyName
TiOPCItem
Used to get or set the Component Property associated with this OPC Item.
property PropertyName : String;
Description
Use PropertyName to get or set 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 ItemName property.
Example
Delphi
iComponent.OPCItem[0].PropertyName := 'Position'; //Sets the 1st OPC Item Component's Property Name
Value := iComponent.OPCItem[0].PropertyName; //Gets the 1st OPC Item Component's Property Name
C++ Builder
iComponent->OPCItem[0]->PropertyName = "Position"; //Sets the 1st OPC Item Component's Property Name
Value = iComponent->OPCItem[0]->PropertyName; //Gets the 1st OPC Item Component's Property Name
Contents | Index | Previous | Next