OPCQueryPointPattern — provides data about multiple OPC points.
(OPCQueryPointPattern 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 data about multiple OPC points.
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
("(OPCQueryPointPattern OPC004 *Ramp*)", 1));
"(OPCQueryPointPattern OPC004
("OPC004" "Channel_0.Ramp.Ramp1" 18 0 "Channel_0.Ramp.Ramp1"
("Channel_0" "Ramp" "Ramp1"))
("OPC004" "Channel_0.Ramp.Ramp2" 18 0 "Channel_0.Ramp.Ramp2"
("Channel_0" "Ramp" "Ramp2"))
("OPC004" "Channel_0.Ramp.Ramp3" 18 0 "Channel_0.Ramp.Ramp3"
("Channel_0" "Ramp" "Ramp3"))
)"
t