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 |
Applications
Put this filter into a task that should have a loop, but does not have any other loop generators (e.g. GrabImage).
Examples
Description of usage of this filter can be found in examples and tutorial: HMI Configuration Page, HMI Recorder, IO Serial Port Communicator, Brick destroy (Game), Image Modification Using the HMI, Dealing with domain errors using the error handlers, TcpIp Shoutbox Server, TcpIp Shoutbox Client, Using HMI multipanel control.
Remarks
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.
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.