Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Loop Generators » Loop


Generates a loop that ends at the first invocation with False on the input.

Name Type Description
inShouldLoop Bool If 'True' the loop will be continued


Put this filter into a task that should have a loop, but does not have any other loop generators (e.g. GrabImage).



It is also possible to end Loop immediately under certain condition. For such case use Exit.

All Enumerate* filters (such as EnumerateImages or EnumerateCombinations) provide looping themselves, without additional Loop filter.

Complexity Level

This filter is available on Basic Complexity Level.

See Also

  • EnumerateCombinations – In each consecutive iteration produces a consecutive combination of integer numbers.
  • EnumerateImages – Scans a disk directory for image files and then returns the images one by one in consecutive iterations.