(OPCAttach label machine_name interface_name server_pattern domain point_pattern [deadband_msec])
A name for this connection, as a string.
The name or IP address of the computer running the DataHub.
Is either: "OPC Data Access 2.0" or "OPC Data Access 3.0" Currently only "OPC Data Access 2.0" is supported.
The name or IP address of the server computer. Wildcard characters are allowed.
The data domain name.
A point name filter. Wildcard characters are allowed. Only leaf items that match this pattern will be visible in the DataHub. Normally you should specify * as the pattern.
The maximum rate at which the server should send data to the client.
A message indicating success or error. Please refer to Return Syntax for details.
This command is deprecated in favor of OPCAttach2, but is available to facilitate upgrading from earlier versions of the OPC DataHub. It lets you set up an OPC connection. It corresponds roughly to the Define OPC Server dialog box that you get when you click the button in the OPC option of the Properties window.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.