The flow control block allows the code to be executed repeatedly based on a given Boolean Condition.
Time Based #
Not a time-based block (won’t take time to finish execution).
This block has 2 Inputs:
- Sequential Input.
- Condition: The Boolean input that decides on which branch the path will continue. If True the Loop Body will be executed, else, the loop will break.
This block has 2 Outputs:
- Loop Body: Connects to the sequence of code to be repeated inside the loop.
- Done: The Sequence of code to be executed when the Input condition is False (after finishing the while loop).