OPCQueryPoints — provides a list of explicitly configured OPC tags in a connection.
(OPCQueryPoints label [pattern])
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.
pattern
A pattern that matches names of OPC connections, such as
OPC00*.
A message indicating success or error. Please refer to Return Syntax for details.
This command provides a list of OPC tags that have been explicitly (manually) configured for a connection. Details regarding the nature of the data have not 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
("(OPCQueryPoints OPC004)", 1));
(OPCQueryPoints OPC004 "Channel_0.Ramp.Ramp1"
"Channel_0.Ramp.Ramp2"
"Channel_0.Ramp.Ramp3"
"_System")
t