Summary: Common Filters that Everyone Should Know
There are 16 special filters in Adaptive Vision Studio that are commonly used for general purpose calculations, but whose meaning may be not obvious. Please review them carefully and make sure that you understand each of them.
Filters Related to Conditional Data
Creates a conditional value. Copies the input object to the output if the associated condition is met, or returns Nil otherwise.
Replaces Nil with a default value while copying the input object to the output. It is used to substitute for a value that is missing due to conditional execution.
Filters Related to Arrays
Creates an array from up to eight individual elements.
Used when you have a two-dimensional array (e.g. Point2DArrayArray), but you need a flat list of all individual elements (e.g. Point2DArray).
Filters Related to Loops
EnumerateIntegers, EnumerateReals, EnumerateElements, EnumerateFiles, EnumerateImages
These filters create loops of consecutive numbers, array elements or files on disk. The loop is finished when the end of the specified collection is reached.
Creates a loop that ends when the inShouldLoop input gets False.
Returns two values: one from the current iteration and one from the previous one.
Calculates how many times some condition was True across all iterations.
Does a very simple thing – copies the input object to the output. Useful for creating values that should be send to the HMI at some point of the program.
Gets two individual elements and outputs one of them depending on a condition.
|Previous: Summary: Common Terms that Everyone Should Understand||Next: Dealing with Domain Errors|