Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: Special characters for Stringout
From: Ralph Lange <Ralph.Lange@bessy.de>
To: Emmanuel Mayssat <emmanuel_mayssat@lynceantech.com>
Cc: tech-talk@aps.anl.gov
Date: Fri, 19 May 2006 09:14:55 +0200
Hello Emmanuel,

The recent Mantis entry 250 covers this issue:
The routines for escape sequence translation do exist in base. They are not used though, as doing character translations for every quoted string seems to slow down database loading beyond tolerable limits. (I never tested it, just quoting the Mantis entry.)
I think there should at least be a way to switch on the translation from the startup script, so that translation can be activated for certain IOCs or database files.
Maybe the newer processors are fast enough to do the translations by default without slowing down database loading too much? Don't know.


For the time being, Tim's suggestions sounds like a way to go.

Cheers,
Ralph

Mantis link: http://www.aps.anl.gov/epics/mantis/view_bug_advanced_page.php?f_id=0000250


Emmanuel Mayssat wrote:
Hello,

I use a stingout record to write on my serial port.
The issue is that I want to write non-printable characters or Hex
values.
When in the db files I manually set field(VAL,"\x3A") (hex code for : ),
it prints \x3A... the escape sequence has not been recognized.
Is there a way to pass special characters through pao->val ?

References:
Special characters for Stringout Emmanuel Mayssat

Navigate by Date:
Prev: June Collaboration Meeting Update Andrew Johnson
Next: Re: bug in break-point table conversion Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: Special characters for Stringout Tim Mooney
Next: June Collaboration Meeting Update Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·