TiVCLComponent.SetOPCItemPropertyName
TiVCLComponent
Used to set the Component Property associated with a specified OPC Item.
procedure SetOPCItemPropertyName(Index: Integer, Value: String);
Description
Use the SetOPCItemPropertyName to set 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
iComponent.SetOPCItemPropertyName(0, 'Position'); //1st OPC Item Component Property Name
C++ Builder
iComponent->SetOPCItemPropertyName(0, "Position"); //1st OPC Item Component Property Name
Note: The Index value is 0 based.
Contents | Index | Previous | Next