8. Adding Data to Template Node
Next, we will populate the template node with data from two different motors. We will insert an inject node and a function node and connect them to each other.
Double-click on the function node and copy the following code
and change the name to Generate Data.
Click Done once the function is complete.
We will use the inject node to trigger this function every 3 seconds. To do this, double-click on each inject node and change the following parameters.
Click Done after parameters are set.
Drag and drop a comment node and name it Water Filtration. Click Deploy and go to your dashboard page to see your progress.
Last updated