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  <20212022  2023  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS_DB_INCLUDE_PATH
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Thu, 16 Dec 2021 19:39:35 +0100
On Thu, 16 Dec 2021 at 09:34, Simon Rose <Simon.Rose at ess.eu> wrote:
In e3, the database files that are installed with a module will always be installed at the location $(module_DB) (an environment variable set by require when loading a module).

In general the e3 team at ESS recommends referencing the database file paths explicitly as opposed to relying on or manipulating EPICS_DB_INCLUDE_PATH; given that there are many modules installed together, it seems you could end up loading the "wrong" one in a possibly annoying to trace way.

Similarly, if database files are located relative to the current startup command, it would be best to explicitly reference the file as

dbLoadRecords($(E3_CMD_TOP)/path/to/database.db)

so as to remove ambiguity.

The more problematic case are substitutions files: the name (and possibly full path) of the template database are inside the substitutions file, which itself could be under version control from a different shared support module...

Cheers,
~Ralph


Replies:
Re: EPICS_DB_INCLUDE_PATH Han Lee via Tech-talk
References:
EPICS_DB_INCLUDE_PATH Alfio Rizzo via Tech-talk
Re: EPICS_DB_INCLUDE_PATH Michael Davidsaver via Tech-talk
RE: EPICS_DB_INCLUDE_PATH Alfio Rizzo via Tech-talk
Re: EPICS_DB_INCLUDE_PATH Ralph Lange via Tech-talk
Re: EPICS_DB_INCLUDE_PATH Michael Davidsaver via Tech-talk
Re: EPICS_DB_INCLUDE_PATH Simon Rose via Tech-talk

Navigate by Date:
Prev: Re: EPICS_DB_INCLUDE_PATH Simon Rose via Tech-talk
Next: Re: EPICS_DB_INCLUDE_PATH Han Lee 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS_DB_INCLUDE_PATH Simon Rose via Tech-talk
Next: Re: EPICS_DB_INCLUDE_PATH Han Lee 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  <20212022  2023  2024 
ANJ, 16 Dec 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·