TiVCLComponent.GetOPCItemComputerName
TiVCLComponent
Used to get the Computer Name associated with a specified OPC Item.
procedure GetOPCItemComputerName(Index: Integer ) : String;
Description
Use the GetOPCItemComputerName procedure to get the Computer Name of a
particular OPC Item specified by the Index parameter. The Computer Name is the DNS or
NetBios name of the computer where an OPC DCOM connection is made for the
specified OPC Item. An OPC Server must be running on this remote computer to
utilize the OPC features of this component.
Example
Delphi
Value := iComponent.GetOPCItemComputerName(0); //1st OPC Item Computer Name
C++ Builder
Value = iComponent->GetOPCItemComputerName(0); //1st OPC Item Computer Name
Note: The Index value is 0 based.
Contents | Index | Previous | Next