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 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
<== Date ==> <== Thread ==>

Subject: EPICS app, Db Makefile, rule for python-generated Db file
From: Andrea Celentano via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Fri, 2 May 2025 11:54:03 +0200
Dear colleagues,
when developing the EPICS apps that I need, typically I use python scripts to generate Db files, using “epicsdbbuilder” tool (https://github.com/DiamondLightSource/epicsdbbuilder).

At this moment, my development flow is as follows. I create the python file to build the database file inside the “Db” folder, then I manually execute it, and then I run make.

Indeed, in the default Makefile obtained from “makeBaseApp.pl -t ioc”, I see that the last lines read:

#----------------------------------------

#  ADD RULES AFTER THIS LINE


This means that I can, in principle, add a rule so that the python script is executed automatically. However, I am not familiar enough with EPICS compilation system (and in general with Makefile) to write this rule. May I ask you for suggestions?

Thanks,
Bests,
Andrea Celentano


Replies:
Re: EPICS app, Db Makefile, rule for python-generated Db file Wells, Alex (DLSLtd,RAL,LSCI) via Tech-talk

Navigate by Date:
Prev: RE: Writing array data in an AreaDetector application Mark Rivers via Tech-talk
Next: Modbus problem bit swap Wago PLC Jeffrey Gamsby 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
Navigate by Thread:
Prev: RE: Writing array data in an AreaDetector application Mark Rivers via Tech-talk
Next: Re: EPICS app, Db Makefile, rule for python-generated Db file Wells, Alex (DLSLtd,RAL,LSCI) 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
ANJ, 06 May 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·