Workspace 6.21.5
|
The ForLoop operation will repeatedly execute its contained workflow, incrementing its 'Counter value' input after each iteration by 'Step value' in order iterate from 'Start value' to 'End value' (inclusive). The operation will cease iterating once 'Counter value' is equal to 'End value'. 'Start value' and 'End value'do not necessarily need to be positive values, but 'Start value' must be less than or equal to 'End value'.
Inputs: | |||
---|---|---|---|
Enable loop | bool | If true, the loop will execute multiple iterations, based on its control inputs. If false, the loop will execute a single iteration only. | |
Wrap | bool | If true, once the loop has completed its final iteration and satisfies its termination condition, it will restart executing from the first iteration again. This can be useful for UI-driven applications where continuous (but repeating) feedback loops are required. | |
Enable parallel looping | bool | If enabled, the loop will attempt to execute iterations in parallel, making use of multiple cores on the local machine, as well as any remote execution resources specified in the parallel / remote execution configuration in the Workspace settings. For more information about remote / parallel execution in Workspace, please see the parallel / remote tutorials available under the "help" menu. | |
Counter value | int | ||
First iteration? | CSIRO::DataExecution::Dependency | ||
Start value | int | The value used for the first iteration of the loop. Must be less than or equal to 'End value' | |
End value | int | The value used for the final iteration of the loop. Must be greater than or equal to 'Start value' | |
Step value | int | The amount by which to step after each iteration. Can be positive or negative, but not zero. | |
Outputs: | |||
Dependency | CSIRO::DataExecution::Dependency |