Multiple device data to table

Hello , im trying to put multiple modbus device data into one table,, the result is weird.. its show only first column and sometimes disapear due to different timing of device transmit. how to get this work?


THANKS

Hi, welcome to the forum.

A fundamental thing to understand in node-red (and pretty much any programming) is that data will NEVER arrive from 2 places at the same time. To handle this, you can use the join node or store the values in context. In this case, I would recommend the join node.

See this article in the cookbook for an example of how to join messages into one object.


If you are new to node-red, I recommend watching this playlist: Node-RED Essentials. The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.

1 Like

THANKS ,, I will wathcing

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.