EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: alh
From: Andreas Lüdeke <[email protected]>
To: <[email protected]>, <[email protected]>
Date: Sun, 28 May 2017 11:52:04 +0200

> I have an alarm PV which needs no acknowledgement and is configured with
an input count filter:
> $ALARMCOUNTFILTER 3 8
> The alarm PV changes from "in alarm" to "out of alarm" once/second for a long time.
> I see the following behaviour in alh:
>
>    6 seconds after the alarm starts toggling, the PV goes into alarm.
>    After another 6 seconds, the PV goes out of alarm.

The behaviour is as intended, if the PV changes once per second its state.
Because you've specified the filter "3 8":
it goes in the alarm state, if the alarm either stays for 8 seconds,
or if it enters an alarm state three times within 8 seconds.

This PV enters an alarm state every two seconds, so after six seconds it raised an alarm the third time.

If you would change the filter to for example 
 
$ALARMCOUNTFILTER 5 8

then it would never go into alarm (if the PV sticks to its behaviour).
When it would stop toggling and stays instead into alarm, an alarm would be raised after 8 seconds.
If it would change its state more frequent, an alarm would be raised as well.

I hope that helps to clarify the ALARMCOUNTFILTER.

Cheers from Switzerland :-)
Andreas

Replies:
Re: alh Rod Nussbaumer

Navigate by Date:
Prev: alh Rolf Keitel
Next: Re: Force TCP/IP reconnect from Asyn/Streamdevice Christoph Schroeder
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: alh Rolf Keitel
Next: Re: alh Rod Nussbaumer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·