TiOPCItem.ServerName
TiOPCItem
Used to get or set the OPC Server Name associated with this OPC Item.
property ServerName : String;
Description
Use ServerName to get or set the OPC Server Name for this OPC Item. The OPC
Server Name is the name of an OPC Server running on a remote Computer. The OPC
Computer Name is specified by the ComputerName property.
Example
Delphi
iComponent.OPCItem[0].ServerName := 'Iocomp.OPC.Simulation.1'; //Sets 1st OPC Item Server Name
Value := iComponent.OPCItem[0].ServerName; //Gets 1st OPC Item Server Name
C++ Builder
iComponent->OPCItem[0]->ServerName = "Iocomp.OPC.Simulation.1"; //Sets 1st OPC Item Server Name
Value = iComponent->OPCItem[0]->ServerName; //Gets 1st OPC Item Server Name
Contents | Index | Previous | Next