Debug and copy flows¶
Debug flows¶
To ensure correct execution and data processing of a flow, you can check the flow with a debug node. You can deactivate the debug node like an output node using the green button on the right. Deactivation of a debug node helps you to reduce the number of debug messages from multiple debug nodes.
To fully display the properties and contents of messages in the debug window, you must set the "Output" to "complete msg object" in the properties of a debug node. The debug window then shows the complete "msg-object" content, for example this can include the following fields:
- topic
- payload
- _msgid
You also have the option of displaying any other property (msg.payload).
Debug window¶
The node ID identifies the node in the debug window. A click on the node ID highlights the corresponding node in the working area. The selection helps you associate the corresponding node with the message in the debug window. The debug window displays important information regarding the data processing and a preview of the message or array output.
The debug window can format arrays and objects in order to improve readability. For timeseries, an additional chart gets added which visualizes the time series data.
Copy flows¶
You have the option of copying nodes between multiple flows. For this purpose, you can select nodes in a flow and copy them to the clipboard. You can paste the nodes from the clipboard in a new flow.
Note
Inside an instance from VFC, nodes can simply be copied by using CTRL+C and CTRL+V
Procedure¶
To copy a flow, follow these steps:
-
In the working area, select the desired flow and copy it.
-
Click
and select "Export" from the dropdown menu.
-
Select the desired nodes and click "Copy to clipboard".
-
Click
and select "Import" from the dropdown menu.
-
Paste the nodes by clicking the key combination CTRL+V.
-
To import the flow, click the "Import" button.
-
Place the flow in the working area.