EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  <20012002  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  1997  1998  1999  2000  <20012002  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: 39 char string limit
From: "Jeff Hill" <[email protected]>
To: "Geoff Savage" <[email protected]>, <[email protected]>
Date: Wed, 8 Aug 2001 15:12:20 -0600
> 
> We need to send strings of greater than 39 character length to the IOCs
> using CA.  I have developed new records and device support to do this
> based on existing the existing stringin and stringout software.  There
> seems to be a limit of 39 characters in CA.  Has anyone done this or
> solved the problem a different way?
> 

Short term:

You could change the field type to DBF_CHAR instead of DBF_STRING.
CA would write strings to this field using only type DBR_CHAR array
(not DBR_STRING), the system would be ignorant of the fact that 
your field is a string when converting between string and numeric 
types, and you might need to make extensive changes to the record's
source code to retain past behavior. After changing the field's data 
type general purpose clients might not display the PV as a string.
Admittedly a kludge.

Next release of EPICS base:

We could add a new (preferably variable length) string data type to 
CA and the EPICS database.

Jeff



References:
39 char string limit Geoff Savage

Navigate by Date:
Prev: Re: 39 char string limit Benjamin Franksen
Next: CapFast Linux version and update Dr. Chong Lee
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  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: 39 char string limit Benjamin Franksen
Next: Re: 39 char string limit Ned Arnold
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  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 ·