Start » Filter Reference » Data Flow » Loop Generators » Loop
Module: | FoundationLite |
---|
Generates a loop that ends at the first invocation with False on the input.
Applications
Put this filter into a task that should have a loop, but does not have any other loop generators (e.g. GrabImage).
Name | Type | Description | |
---|---|---|---|
inShouldLoop | Bool | If 'True' the loop will be continued | |
inDelay | Integer | Time between iterations in milliseconds |
Examples
Description of usage of this filter can be found in examples and tutorial: HMI Configuration Page, IO Serial Port Communicator, Brick destroy (Game), Parallel Image Saving, Parallel Enumeration, Dealing with domain errors using the error handlers, TcpIp Shoutbox Server, 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
- EnumerateImages – Scans a disk directory for image files and then returns the images one by one in consecutive iterations sorted according to the specified order.
- EnumerateCombinations – In each consecutive iteration produces a consecutive combination of integer numbers.