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, marking the object as "not detected" when a certain condition is not met.
Replaces Nil value with some predefined default value. It is usually used to handle the "object does not exist" case.
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 (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|