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  <20132014  2015  2016  2017  2018  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: delay before alarm on alarm handler
From: James F Ross <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: [email protected]
Date: Wed, 20 Mar 2013 14:23:54 -0400
That worked!  For future reference, the $ALARMCOUNTFILTER goes after
the PV you want to set it for in the alarm handler configuration file.
For example:
CHANNEL        GROUP_A         variable_1        -----
$ALARMCOUNTFILTER  2 3

This will set it so that variable_1 alarms only if it receives finds
the variable's value outside it's alarm limits twice over a three
second period.
Thanks!
James


On Wed, Mar 20, 2013 at 2:02 PM, Andrew Johnson <[email protected]> wrote:
> Hi James,
>
> On 2013-03-20 James F Ross wrote:
>> Does anyone know how to build in a delay for a process variable so
>> that it won't alarm unless the value is in the alarm range for a
>> setable period of time?  For instance, I'd like to set a particular
>> variable so that it will alarm only if the value is below the LOW
>> alarm setting for one second or longer.  Is this doable either through
>> the alarm handler or the database file or would I have to go into the
>> source code and manually program in a delay?
>
> ALH can do this itself using $ALARMCOUNTFILTER, see
>
> http://www.aps.anl.gov/epics/EpicsDocumentation/ExtensionsManuals/AlarmHandler/alhUserGuide-1.2.15/ALHUserGuide.html#6_3_12
>
> In 3.15 you'll be able to configure the standard input record types to filter
> alarms too, but for now the solutions available to you are either to use
> ALH's $ALARMCOUNTFILTER or to do something a lot more complicated in a
> database or an snl program.
>
> - Andrew
> --
> There is no such thing as a free lunch.  When invited for lunch,
> it is best to check if you are there to eat, or to be eaten.
> -- Clive Robinson

References:
delay before alarm on alarm handler James F Ross
Re: delay before alarm on alarm handler Andrew Johnson

Navigate by Date:
Prev: Re: delay before alarm on alarm handler Andrew Johnson
Next: Re: drvAsynIPPort question Sinisa Veseli
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: delay before alarm on alarm handler Andrew Johnson
Next: using debian package for camac? Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·