OPCQueryConnection — provides information related to an OPC server connection.
(OPCQueryConnection label)
label
A name used by the DataHub instance to identify the connection, as listed in the Connection column of the OPC DA option of the Properties window.
A message indicating success or error. Please refer to Return Syntax for details.
This command provides information related to an OPC server connection. A detailed description of the values provided has not yet been documented.
This is an example of the command being called from the Script Log, using the
datahub_command function. A few carriage returns have
been added to this example to make the output easier to read.
--> pretty_princ(datahub_command ("(OPCQueryConnection OPC004)", 1));
(OPCQueryConnection "OPC004" "localhost" "OPC Data Access 2.0"
"Toolbox OPC Power Server 5.14" "TOP5" "*" 500 0x700312
5000 1 2 () 1000 5000 "Running" 0x3f9f8f0)
t