Window

The window algorithm calculates if the input values are between a set of two limits.

Usage

This algorithm is often used with two inputs, but can take as many as you like. It always compares the highest value with the lowest one.

Parameters

ParameterMeaning
minThe lower threshold value
maxThe upper threshold value
insideIf true or 1, the value should be within the max and min. If this value is false or 0, it's expected to be ouside the window.