TiVCLComponent.GetOPCItemServerName

TiVCLComponent

Used to get the OPC Server Name associated with a specified OPC Item.

procedure
GetOPCItemServerName(Index: Integer ) : String;

Description

Use the GetOPCItemServerName procedure to get the OPC Server Name of a particular OPC Item specified by the Index parameter. The OPC Server Name is the name of an OPC Server running on a remote Computer. The OPC Computer Name is specified by the SetOPCItemComputerName procedure.

Example

Delphi

Value := iComponent.GetOPCItemServerName(0); //1st OPC Item Server Name

C++ Builder

Value = iComponent->GetOPCItemServerName(0); //1st OPC Item Server Name

Note: The Index value is 0 based.

Contents | Index | Previous | Next