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: Special characters in strings loaded by dbLoadRecords
From: Marty Kraimer <[email protected]>
To: [email protected]
Date: Thu, 31 Jul 1997 07:24:16 -0500
Guy Jennings wrote:
> 
> We ran into a problem while trying to use a string field
> in a record to hold a "printf" format string to control the
> characters sent to a serial device.
> 
> We wanted to be able to put octal escaped characters into
> the field value, along the lines:
> 
> FIELD(SEL, "\23%2.2d\n")
> 
> However, when the database attempts to load, we get a syntax
> error message from dbLoadRecords.
> 
> It seems that the parser in dbLoadRecords does not expand
> escape sequences within quoted strings.  Can anyone think
> of a way around this limitation?


Thanks to Noboru Yamamoto from KEK the beta11 release
of 3.13 supports escape sequences. The beta11 version
of the Application Developer's guide gives details.
see page 27 (Chapter Database Definition, Section general Rules).

Marty Kraimer

References:
Special characters in strings loaded by dbLoadRecords Guy Jennings

Navigate by Date:
Prev: Special characters in strings loaded by dbLoadRecords Guy Jennings
Next: Re: IOC hangs (no more) Ralph Lange
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: Special characters in strings loaded by dbLoadRecords Guy Jennings
Next: VxWorks patch file Bakul Banerjee
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 ·