Condition
class optris_sdk.alarms.Condition
When a signal counts as alarming.
- Parameter
compare— which way the comparison runs --COMPARE_ABOVE,COMPARE_BELOW,COMPARE_OUTSIDEand the rest. - Parameter
alarm— theLimitsthat raise the alarm. - Parameter
warning— an optional inner band that raises a warning first. - Parameter
on_delay_s— how long the condition must hold before the state rises, in seconds. A duration, not a frame count: a frame count only means a duration in combination with a frame rate, and the frame rate changes with the operation mode. The camera converts to frames from the interval it observes, and a delay shorter than one frame interval debounces one frame rather than none. Rounded to whole milliseconds, and never down to zero: any delay above zero is carried as at least one millisecond, so only0itself reacts on the first observation. - Parameter
off_delay_s— the same on the way back down. - Parameter
latching— once raised it stays raised until acknowledged, even if the condition clears.
Condition — properties
compare
alarm
warning
The pre-alarm band, or None when there is not one.
on_delay_s
How long the condition must hold before the state rises.
off_delay_s
How long it must stop holding before the state falls.