TiOPCItem.ComputerName
TiOPCItem
Used to get or set the Computer Name associated with this OPC Item.
property ComputerName : String;
Description
Use ComputerName to get the Computer Name of this OPC Item. 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
iComponent.OPCItem[0].ComputerName := '\\Test-Server1'; //Sets the 1st OPC Item Computer's Name
Value := iComponent.OPCItem[0].ComputerName; //Gets the 1st OPC Item Computer's Name
C++ Builder
iComponent->OPCItem[0]->ComputerName ="\\Test-Server1"; //Sets the 1st OPC Item Computer's Name
Value = iComponent->OPCItem[0]->ComputerName; //Gets the 1st OPC Item Computer's Name
Contents | Index | Previous | Next