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: EPICS_DB_INCLUDE_PATH
From: Alfio Rizzo via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 14 Dec 2021 13:38:43 +0000

Hi All

 

I was wondering if it safe to set the EPICS_DB_INCLUDE_PATH env variable in some snippet to point to a local db directory  

 

require X

require Y

require Z

 

epicsEnvSet(EPICS_DB_INCLUDE_PATH, "/mypath/db:$(EPICS_DB_INCLUDE_PATH)")

dbLoadRecords(“mydb.db”)

 

……………

 

 

The file mydb.db in this case is in the /mypath/db directory.

 

What I have noticed is that doing that the EPICS_DB_INCLUDE_PATH variable get somehow truncated

(looking at the EpicsEnvShow)

and so the path to the db of module Z for instance can be lost.

 

I was wondering if this is a feature, meaning that EPICS_DB_INCLUDE_PATH should be never set in a snippet,

Since it is just and only the require module which should set it.

 

Thanks

Best

Alfio

 

 

______________________

 

Alfio Rizzo

PhD / Control System Integrator / ICS HW&I Group

 

European Spallation Source ERIC

P.O. Box 176, SE-221 00 Lund, Sweden

Visiting address: Partikelgatan 2, 224 84 Lund

Mobile: +46 72 179 23 42

E-mail: alfio.rizzo at ess.eu

ess.eu

 

 


Replies:
Re: EPICS_DB_INCLUDE_PATH Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: Photonic Science X-ray FDS camera Sintschuk, Michael via Tech-talk
Next: RE: Log4Shell approaches Carriveau, Anthony 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: AW: Photonic Science X-ray FDS camera Sintschuk, Michael via Tech-talk
Next: Re: EPICS_DB_INCLUDE_PATH Michael Davidsaver 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, 15 Dec 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·