Experimental Physics and Industrial Control System
|
On Aug 23, 2021, at 11:43 AM, Johnson, Andrew N. via Tech-talk <tech-talk at aps.anl.gov> wrote:
Well the obvious explanation is that the empty value intended for your $(s) macro in the substitutions file is being ignored — you have actually found a bug in our msi tool.
Actually looking at the code both msi and the dbLoadTemplates() iocsh command ignore an empty pattern value, so I’m not sure that this is actually a bug, it looks to be be how the code was originally intended to work, so the fix would be to use empty quotes
for any empty macro values as I suggested before, either single or double quotes should work:
If it were setting $(s) to an empty string the PV name should begin with a colon character ‘:’ in the expanded version but it doesn’t — is that what you want to happen? For a workaround if you want $(s) to be empty you can do that by using an
empty pair of double-quotes instead, I have just tried that and it works.
- Andrew
--
Complexity comes for free, simplicity you have to work for.
|
- Replies:
- RE: Trouble with macro substitutions Leblanc, Gregory via Tech-talk
- References:
- Trouble with macro substitutions Leblanc, Gregory via Tech-talk
- Re: Trouble with macro substitutions Johnson, Andrew N. via Tech-talk
- Navigate by Date:
- Prev:
Re: Trouble with macro substitutions Johnson, Andrew N. via Tech-talk
- Next:
AD Stats with URL camera Profile problem Smith, William 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: Trouble with macro substitutions Johnson, Andrew N. via Tech-talk
- Next:
RE: Trouble with macro substitutions Leblanc, Gregory 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
|
ANJ, 24 Aug 2021 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|