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: Re: Create record name manifest during build
From: Anders Lindh Olsson via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>, Ralph Lange <ralph.lange at gmx.de>
Date: Fri, 24 Jul 2026 07:20:11 +0000
You could use our run-iocsh util for this. Unfortunately,publicly you can't view source or published docs right now because of our GitLab situation (it not being publicly visible), but it is still downloadable and it is python so you can inspect source from your install. We will be moving the source to GitHub these coming days.

Cheers
A

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
Sent: 24 July 2026 08:57
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: Re: Create record name manifest during build
 
On Fri, 24 Jul 2026 at 08:24, Jure Varlec via Tech-talk <tech-talk at aps.anl.gov> wrote:
On 7/23/26 22:26, David Bracey via Tech-talk wrote:
> But I think we can’t wait until we launch the IOC - we may need to do it at build time.

Well, you don't need a fully functional IOC to get the list of records, the dbl command works before iocInit. So, you may be able to use the softIoc executable as a build-time tool. Just define the macros, load the databases, have dbl write to a file, and exit. Networking and such doesn't happen until iocInit, so using softIoc this way shouldn't be problematic. Probably ;)

Sweet!
And definitely low-effort and low-maintenance compared to unearthing the IRMIS crawlers...

The only thing... I'm not able to create a startup script that exits the softIoc after it loads databases and dumps the record list. Is there a way to do that? (Would make it a lot easier to include this in the build.)

Cheers,
~Ralph


References:
Create record name manifest during build David Bracey via Tech-talk
Re: Create record name manifest during build Mark Rivers via Tech-talk
Re: Create record name manifest during build Pierrick Hanlet via Tech-talk
Re: Create record name manifest during build David Bracey via Tech-talk
Re: Create record name manifest during build Jure Varlec via Tech-talk
Re: Create record name manifest during build Ralph Lange via Tech-talk

Navigate by Date:
Prev: Re: Create record name manifest during build Ralph Lange via Tech-talk
Next: Re: Modbus Module issue Luis Alberto De Sousa Moreira 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: Re: Create record name manifest during build Johnson, Andrew N. via Tech-talk
Next: IOC build to generate single DB file from two substitutions on single template file David Bracey 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, 24 Jul 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·