Skip to main content
Version: Streamsheets 3.0

OPCUA.MONITOR

Premium

Monitor values from an OPC UA Server.

Syntax

=OPCUA.MONITOR(Connection, Nodes, Interval, Target)

Arguments

NameTypeDescription
ConnectionConnectionConnection to an OPC UA Server
NodesRange or StringPaths or node id of the node to monitor.
IntervalNumberInterval in seconds in which node changes should be received.
TargetTargetINBOX(), OUTBOX("MsgID") or a cell range where the result will be placed. Make sure the cell range is big enough or not everything is displayed.

Return

TypeDescription
TRUE or ErrorThe function OPCUA.MONITOR always returns TRUE, if no error.

Examples

AB
1ns=2;s=Demo.SimulatopnSpeed
FormulaResultComment
=OPCUA.MONITOR(OPCUAConnection!,A1,1,INBOX())
TRUEThis monitors the node with a sampling interval of 1 second and places the result into the inbox.