On 12/14/21 5:38 AM, Alfio Rizzo via Tech-talk wrote:
> ...
> /epicsEnvSet(//EPICS_DB_INCLUDE_PATH//, "/mypath/db:$(//EPICS_DB_INCLUDE_PATH//)")/
>
> /dbLoadRecords(“mydb.db”)/
...
> 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,
At least with current Base 7.0, neither epicsEnvSet() nor epicsEnvShow() should truncate.
You may be hitting the macro value length limit for the maclib parser. Currently 256.
(this is known to be an issue with long PATH)
https://github.com/epics-base/epics-base/blob/1c3aa018464136a1d0f546ab4ed0b950610ae58e/modules/libcom/src/macLib/macLib.h#L37
> 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 <mailto:alfio.rizzo at ess.eu>__
>
> ess.eu <ess.eu>__
>
>
>
>
>
- Replies:
- RE: EPICS_DB_INCLUDE_PATH Alfio Rizzo via Tech-talk
- References:
- EPICS_DB_INCLUDE_PATH Alfio Rizzo via Tech-talk
- Navigate by Date:
- Prev:
Re: Photonic Science X-ray FDS camera Cobb, Tom (DLSLtd,RAL,LSCI) via Tech-talk
- Next:
Re: arv-tools not detecting USB3 camera Gofron, Kazimierz 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
- Navigate by Thread:
- Prev:
EPICS_DB_INCLUDE_PATH Alfio Rizzo via Tech-talk
- Next:
RE: EPICS_DB_INCLUDE_PATH Alfio Rizzo 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
|