Threshold
Threshold implements a comparator with configurable hysteresis.
The output transitions from 0.0 to 1.0 when the input signal transitions from below to above the High level.
The output transitions from 1.0 to 0.0 when the input signal transitions from above to below the Low level.
The Low level must be less than the High level.
GRC File can be downloaded here.
Threshold Block Setting
Low and High level Setting Using WX GUI Slider
Results: Checking the effect of the Threshold Low value.
The output (Green line) transitions from 1.0 to 0.0 when the input signal transitions from above to below the Low level. (-250 m,Cross point between Red line(=Threshold Low Value) and Blue line (=input))
Checking the effect of the Threshold High value.
The output (Green line) transitions from 0.0 to 1.0 when the input signal transitions from below to above the High level. (+250m, Cross point between Magenta line(=Threshold High Value) and Blue line(=input))