Creating Cycles among Nodes
- Updated2025-08-15
- 1 minute(s) read
Cycles occur if a data flow originates from an output of a node and terminates as an input of the same node. If you use wires other than channel wires, such cycles are illegal and break the VI unless you add a Feedback Node that provides the cycle with a starting point. With channel wires, you can create cycles without adding a Feedback Node because channel wires do not create dataflow dependencies among endpoints. Every endpoint acts as a starting point.
This functionality is useful when you need to communicate messages back and forth among loops that depend on each other to update their statuses from time to time. The following illustration demonstrates a cycle that you can build using channel wires. The three loops run in parallel and continuously pass an integer around in a circle, each one incrementing it.
The following list describes important details about the previous diagram: