Hi,
So my conclusion is that giving this limitation of 256 chars of maclib parser,
It is wise then to never use EPICS_DB_INCLUDE_PATH in a snippet to add
local db path, since if you have a long list of require you may hit into trouble
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
-----Original Message-----
From: Michael Davidsaver <mdavidsaver at gmail.com>
Sent: Tuesday, December 14, 2021 5:56 PM
To: Alfio Rizzo <Alfio.Rizzo at ess.eu>
Cc: tech-talk at aps.anl.gov
Subject: Re: EPICS_DB_INCLUDE_PATH
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 Ralph Lange via Tech-talk
- References:
- EPICS_DB_INCLUDE_PATH Alfio Rizzo via Tech-talk
- Re: EPICS_DB_INCLUDE_PATH Michael Davidsaver via Tech-talk
- Navigate by Date:
- Prev:
Re: Camera parameters not writable in ADAravis Mark Rivers via Tech-talk
- Next:
AW: Photonic Science X-ray FDS camera Sintschuk, Michael 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:
Re: EPICS_DB_INCLUDE_PATH Michael Davidsaver via Tech-talk
- Next:
Re: EPICS_DB_INCLUDE_PATH Ralph Lange 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
|