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