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  2017  2018  2019  2020  2021  <20222023  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  2017  2018  2019  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Phoebus alarm does not honor filter
From: "Zhang, Tong via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 8 Jun 2022 18:37:13 +0000

Dear Colleagues,

 

Recently, when I was working with Phoebus Alarm system to develop the alarms, I found the alarm filter does not work as expected, here is the example:

 

  1. Let’s say ‘alm_pv’ is a non-latched alarm PV, and ‘alm_pv_filter’ is the filter PV which is used to enable/disable ‘alm_pv’;
  2. The filter is “alm_pv_filter==1”, ‘alm_pv_fitler’ is initialized with 1, ‘alm_pv’ is set to 1 (1 is MAJOR, and 0.5 is MINOR, 0 is OK)
  3. From the Phoebus Alarm table, I see ‘alm_pv’ is major, and listed in the alarm table;
  4. Now I set ‘alm_pv_filter’ as 0 to disable alarm ‘alm_pv’, I see ‘alm_pv’ is removed from the alarm table;
  5. Now I set ‘alm_pv_filter’ as 1 to enable alarm ‘alm_pv’ again, and expected that the ‘alm_pv’ would be showing up in the alarm table again, but it was not! It does not show up, until, see next line;
  6. Then I changed ‘alm_pv’ to 0 to make it OK, and changed it to MAJOR again by setting with 1, it appeared in the alarm table again.

 

So it seems that alarm is only triggered when the status is changed.

Is that true that what 5. described is exactly how the Phoebus alarm system works?

 

Thanks,

Tong


Replies:
Re: Phoebus alarm does not honor filter Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: Bus errors accessing VME with base 7.0.6.1 and latest synApps modules Till Straumann via Tech-talk
Next: motorAcsMotion R2-0-1 released Kevin Peterson via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: ADEiger and simulated EIGER detector John Dobbins via Tech-talk
Next: Re: Phoebus alarm does not honor filter Kasemir, Kay via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·