TiVCLComponent.SetOPCItemComputerName

TiVCLComponent

Used to set the Computer Name associated with a specified OPC Item.

procedure
SetOPCItemComputerName(Index: Integer, Value: String);

Description

Use the SetOPCItemComputerName procedure to set 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

iComponent.SetOPCItemComputerName(0, 'TestMachine001'); //1st OPC Item Computer Name

C++ Builder

iComponent->SetOPCItemComputerName(0, "TestMachine001"); //1st OPC Item Computer Name

Note: The Index value is 0 based.

Contents | Index | Previous | Next