Kip icon indicating copy to clipboard operation
Kip copied to clipboard

Negative zone alarms triggering incorrectly

Open tvr256 opened this issue 2 years ago • 3 comments

I have a depth gauge widget displaying depth below keel.

If I configure an Alarm zone with empty lower value and upper value set to 0, the alarm triggers with positive depth values. I would expect it only to trigger with negative values.

tvr256 avatar Feb 17 '23 19:02 tvr256

@tvr256 Strange because you should nor be able save this setup. Empty lower and upper of 0 is not accepted. Can you please double check. Thank you

godind avatar Nov 11 '23 08:11 godind

I've double checked, and I can save empty lower and upper of 0 in 2.4.2 :

image image

tvr256 avatar Dec 21 '23 15:12 tvr256

I'll take a look. It should account from 0 down to negative infinity but it's probably the opposite.

Does it work if you do from -10000 to 0?

godind avatar Dec 22 '23 20:12 godind