OPCQueryPoint

OPCQueryPoint — provides data about an OPC point.

Synopsis

(OPCQueryPoint label pointname)
    

Arguments

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.

pointname

The name of a DataHub point only (no domain name) within the domain that has been configured for the OPC connection.

Returns

A message indicating success or error. Please refer to Return Syntax for details.

Description

This command provides data about a point within a configured OPC connection. Details regarding the nature of the data have not been documented.

Example

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 
                 ("(OPCQueryPoint OPC004 Channel_0.Ramp.Ramp1)", 1));
(OPCQueryPoint OPC004 ("OPC004" "Channel_0.Ramp.Ramp1" 18 0 
 "Channel_0.Ramp.Ramp1" ("Channel_0" "Ramp" "Ramp1")))
t