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  2022  2023  2024  2025  <2026 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  2022  2023  2024  2025  <2026
<== Date ==> <== Thread ==>

Subject: Receiving alarm notification from all records in database
From: David Bracey via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 16 Jul 2026 18:42:44 +0000
Hi All -

I have created a support module that pushes all alarm state changes to an external message queue, but I am concerned about registering for so many database notifications.

I would be thankful if anyone could critique this practice, by having a look at my code and letting me know if this is a bad idea.

The project is here: https://github.com/fermi-ad/epics-alarm-push

And particularly you will want to look at the function init_after_db in this file: https://github.com/fermi-ad/epics-alarm-push/blob/main/AlarmPushApp/src/AlarmPush.cpp

I was suspicious that calling dbChannelCreate on potentially hundreds of records might be a problem.

Also, if there is a smarter way to do this, please advise.

Thanks in advance!

Dave Bracey
Fermi National Accelerator Laboratory


Navigate by Date:
Prev: Re: [EXTERNAL] Re: support for LXI devices (Bustec ProDAQ 6150 specifically) Michael Davidsaver via Tech-talk
Next: EPICS Developers Meeting and Codeathon at Brookhaven, Oct. 19–23 Shroff, Kunal 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  2022  2023  2024  2025  <2026
Navigate by Thread:
Prev: EPICS Integration With AVEVA PI using PI Web API Josh West via Tech-talk
Next: EPICS Developers Meeting and Codeathon at Brookhaven, Oct. 19–23 Shroff, Kunal 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  2022  2023  2024  2025  <2026
ANJ, 16 Jul 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·