EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: found a bug in 3.13.9 dbLoadTemplate - after all that time
From: "Mark Rivers" <[email protected]>
To: "kuner" <[email protected]>, <[email protected]>
Date: Wed, 2 Jun 2004 17:53:52 -0500
Bernhard Kuner wrote:

> It would be more usefull to have default values for 
> substitutions that may be overwritten in the string expansion lines.
May be 
> something like this:
> 
>   file test.template {
>   pattern{ NAME, HOPR="9", LOPR="1", MDEL="0.1"}

I really like this suggestion.

One problem with template files now is that it is real hassle if one
wants to add an additional subsitution parameter.  Suppose test.template
above does not currently support the MDEL parameter, but I want to add
it.  At present, if I add it, then I have to find every substitution
file that references test.template and update it to add MDEL.   

With Bernhard's suggestion, this would not be necessary.  I could define
a default value for that new parameter, which would be the same as the
previous default value for that field in test.template, or if it was not
defined there, then the default value in the record.  Existing
substitution files will work as they always did, but new ones can now
use the MDEL parameter.

Mark Rivers



Replies:
Re: found a bug in 3.13.9 dbLoadTemplate - after all that time Luedeke Andreas

Navigate by Date:
Prev: organizing extensions/applications Geoff Savage
Next: RE: found a bug in 3.13.9 dbLoadTemplate - after all that time J. Frederick Bartlett
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: found a bug in 3.13.9 dbLoadTemplate - after all that time Ralph Lange
Next: Re: found a bug in 3.13.9 dbLoadTemplate - after all that time Luedeke Andreas
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·