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: Special characters in strings loaded by dbLoadRecords
From: Guy Jennings <[email protected]>
To: [email protected]
Date: Wed, 30 Jul 1997 16:54:40 +0000
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?

Replies:
Re: Special characters in strings loaded by dbLoadRecords Marty Kraimer

Navigate by Date:
Prev: RE: Jeff Hill
Next: Re: Special characters in strings loaded by dbLoadRecords 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: Jeff Hill
Next: Re: Special characters in strings loaded by dbLoadRecords 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 
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 ·