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