Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: EPICS r3.13 field DESC length
From: Marty Kraimer <mrk@aps.anl.gov>
To: tech-talk@aps.anl.gov
Date: Wed, 07 Jan 1998 14:54:25 -0600
Kevin Tsubota wrote:
> 
> I'm in the process of upgrading to EPICS r3.13 and
> get the following error for the base mbbo record because
> the DESC field is limited to only 29char.
> 
>         Cannot set field DESC to multibit binary output record
> 
> I would like to increase the size for all records because I
> have alot of other places where I've set the DESC field to
> more than 29 chars.
> 
> Whats the best way to do this and is there some limitation
> the the maximum length?
> 
> Thank you.
> 
> Kevin Tsubota
> ktsubota@keck.hawaii.edu


First of all this is not a new restriction in 3.13. The limit was always
there.
before 3.13 no error message was issued if the string was too long. The
error message is somewhat misleading because the truncated string is
written.

I STRONGLY discourage changing length of DESC field. In any case it cant
be made 40 or else you cant pass values through channel access.  If you
really really really want to change it here is how.

edit file base/src/db/dbCommon.dbd

field DESC has a length of 29. You can change this to anything <= 40.

Now you must rebuild all of base and all application ares build against
this version of base.

Note that you now have a privately modified version of epics base and
must remember to make the same modifications everytime you get a new
version.

Marty Kraimer

References:
EPICS r3.13 field DESC length Kevin Tsubota

Navigate by Date:
Prev: EPICS r3.13 field DESC length Kevin Tsubota
Next: Re: EPICS r3.13 field DESC length William Lupton
Index: 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: EPICS r3.13 field DESC length Kevin Tsubota
Next: Re: EPICS r3.13 field DESC length William Lupton
Index: 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
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 ·