mikakaraila / node-red-contrib-opcua

A Node-RED node to communicate OPC UA. Uses node-opcua library.
Other
217 stars 197 forks source link

Question: Is read_multiple the best way to readout a set of values frequently for every 100ms? #714

Open MBL-DGS opened 4 months ago

MBL-DGS commented 4 months ago

I want to readout a set of 20 variables every 100ms even when the value did not changed.

I tried subscribing to a variable which changes every nanosecond and subscribe to it every 100 ms. Then define the variables to read from, and lastly add a read action to obtain the value. (see image below).

I saw the option, read multiple. Is this much more efficient/ computationally effective , since i sometimes get connection failures after some time it is deployed.

image

This is the example with multiple read: image image

mikakaraila commented 2 months ago

Most probably yes if target server will provide response fast enough and your client can process data so fast.