Experimental Physics and Industrial Control System
|
On 14.02.2014 17:27, Andrew Johnson wrote:
Hi Mike,
On 02/14/2014 02:54 AM, Ralph Lange wrote:
On 13.02.2014 22:55, Westfall, Michael D wrote:
A question regarding MSI (Macro Substitution and Include) tool:
Is there a way to set the value of a macro in the substitutions file
for later use without triggering an immediate substitution?
...
Any tips for doing something like this with the existing tool?
global { SEX=Male }
file xxx.template {
pattern {FNAME, LNAME}
{John, Smith}
{George, Jones}
{James, Taylor}
{Robert, Redford}
{Larry, Cableguy}
}
global { SEX=Female }
file xxx.template {
pattern {FNAME, LNAME}
{Susan, Williams}
{Judy, Johnson}
{Melinda, Martin}
{Cathy, Lewis}
{Linda, Hall}
}
To explain a bit more, there have been a number of improvements made to
the msi program as part of importing it back into Base 3.15. There is
now a formal EBNF syntax definition for the substitutions file, and we
support global macros and optionally respect standard scoping rules. The
3.14 IOC (dbLoadTemplate command) does not understand the new keywords,
but the 3.15 IOC (currently still in development) does.
[...]
I am sorry.
I am using the Debian packaged version of EPICS Base 3.14, and Michael
has backported the 3.15 msi into 3.14 as part of that packaging effort.
It's easy to forget about such stuff when things just work (TM).
~Ralph
- References:
- MSI macro setting in substitutions file Westfall, Michael D
- Re: MSI macro setting in substitutions file Ralph Lange
- Re: MSI macro setting in substitutions file Andrew Johnson
- Navigate by Date:
- Prev:
ThorLabs BSC203 support? Goetze, Kurt A.
- Next:
Re: MSI macro setting in substitutions file Ralph Lange
- 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: MSI macro setting in substitutions file Andrew Johnson
- Next:
I/O Intr. scanning Thread Vikram Bhagat
- 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, 17 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|