OPCAEAttach — creates an OPC A&E connection.
(OPCAEAttach label machine protocol server domain detail_domain flags
retry_secs delay_secs)
Many of these parameters correspond to a similarly named entry field or checkbox in the Configure OPC A&E Server dialog options in the OPC A&E option of the Properties window. The names that appear in that dialog are shown here in parentheses.
label
A name used by a DataHub instance to identify the connection. (Connection Name)
machine
The name or IP address of the computer running the OPC A&E server you want to connect to. (Computer Name)
protocol
Is not yet documented.
server
The name of the OPC A&E server that you are connecting to. (OPC Server Name)
domain
The name of the DataHub domain in which the data points are received. (Data Domain Name)
detail_domain
Is not yet documented.
flags
Are not yet documented.
retry_secs
The number of milliseconds to wait before retrying a failed connection. (Retry Delay)
delay_secs
The number of milliseconds to wait before retrying a failed connection. (Retry Delay)
A message indicating success or error. Please refer to Return Syntax for details.
This command creates an OPC A&E connection, which corresponds to creating a new connection in the OPC A&E option of the Properties window.