Hello,
I am using an alarm and I send a " true " or " false" sinal to a boolean to represent the alarm. I am comparing each data in an array to a cerntain thredhsold value and if bigger than thredshold then send the true to the boolean, set alarm on. But the samples in the array are aquired very fast, if the first data is bigger than thredshold, a "true" is sent to the alarm, but the second data is less than the thredshold,then a"false" is sent to the alarm, the alarm is off. But what I need is that if the "true" is sent out to the alarm, hold the "true" and keep the alarm on no matter what the next data is. Is there anyway to hold the data?
Thanks in advance,