EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  <19971998  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  Index 1994  1995  1996  <19971998  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 
<== Date ==> <== Thread ==>

Subject: Re: Bad CALC record kills IOC
From: [email protected] (Ralph Lange)
To: [email protected] (Rozelle Wright), [email protected] (EPICS Tech-Talk)
Date: Fri, 4 Jul 1997 12:31:34 +0200 (METDST)
Hi Rozelle,

even though it doesn't match the thread's subject exactly - there still is
the problem with dbst and template files:

Since template files contain "$(NAME)" variables, there is no way for dbst
to check fields containing variables for correct syntax and length. Whereas
the macro expansion failure just causes error messages and the syntax check
is not executed afterwards on those fields, an oversized field is cut down
to its maximum length. Therefore you can't use dbst on some template
databases (i.e. templates containing records where fields are oversized due
to variable names being longer than their substitutes).

If the field length cut is part of dbst, this problem might be solved - if
it is part of the dbStaticLib (which dbst uses), I doubt that there's a
solution with reasonable effort.

My guess would be the latter. (Cynics are just disappointed romanticists.)

Ralph
-- 
      __  Ralph Lange                         Email:       [email protected] 
     /\ \                                     WWW: http://www.bessy.de/~lange
    /  \ \  BESSY II                          
   / /\ \ \  Berliner Elektronenspeicherring- Snail:                 BESSY II
  / / /\ \ \  Gesellschaft fuer Synchrotron-               Rudower Chaussee 5
 / / /__\_\ \  strahlung m.b.H.                       D-12489 Berlin, Germany
/ / /________\                                Phone:         +49 30 6392-4862
\/___________/ Control System Group           Fax:                ...   -4859

References:
Re: Bad CALC record kills IOC Rozelle Wright

Navigate by Date:
Prev: Re: Bad CALC record kills IOC Andrew Johnson
Next: Re: Bad CALC record kills IOC Marty Kraimer
Index: 1994  1995  1996  <19971998  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: Bad CALC record kills IOC Rozelle Wright
Next: Re: Bad CALC record kills IOC Tim Mooney
Index: 1994  1995  1996  <19971998  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, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·