Skip to main content
Version: Streamsheets 3.0

OPCUA.POLL

Premium

Periodically reads values from an OPC UA Server.

Syntax

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

Arguments

NameTypeDescription
ConnectionConnectionConnection to an OPC UA Server
NodesRange or StringPaths or node id of the node to poll.
IntervalNumberInterval in seconds in which node should be polled.
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.POLL always returns TRUE, if no error.

Examples

AB
1ns=2;s=Demo.SimulatopnSpeed
FormulaResultComment
=OPCUA.POLL(OPCUAConnection!,A1,1,INBOX())
TRUEThis polls the node every second and places the result into the inbox.