First Flow

Node-RED is web based application to create control flows. GOcontroll has developed several Node-RED nodes to interface with the hardware. This article will not explain each node in detail but it explains the essentials and the way to get implementation information from each node.

For this article we assume you are already logged in to Node-RED


Add a node to your Flow

Beside the core functionalities, information how to use each Node is also embedded in Nodes. (Not only the GOcontroll Nodes) This example describes how to use the 6 channel input module Node that can be found in the palette manager from Node-RED on the left.

On the left, scroll through the Nodes until you see the orange GOcontroll Node 6 Ch Input Mod. Drag and drop this Node onto the canvas.

When double clicking on the Node, the properties window will open where you can select all 6 channel input module related configurations. It is important to select the right module based on your controller configuration. The input channels can be configured based on your application. When your Node is fully configured, click Done and Deploy. To send the configuration to the installed module.

Note: Do not use modules in Node-RED and Simulink at the same time.


Read data from an added Node

When connecting a debug Node to the 6 channel input module, signals can be read from the installed module. Connect a so called Debug node to your module. Open the properties of the debug node and set output to complete msg object to output all data from the module.

Click Done and Deploy.

Open the debug viewer from Node-RED on the right. Based on the sample time you selected in the Node properties, the information that is read from the module is now displayed in the debug viewer.


Check Node information

For each node, information is embedded and can be viewed from within Node-RED.

Select the node, click on information (right top) and click the help button (right middle). Information will be shown.

Go to Top