EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: EDM: Text Monitor Widget
From: "Szalata, Zenon M." <[email protected]>
To: <[email protected]>
Date: Sat, 1 Aug 2009 22:05:27 -0700
I have an ASCII coded string which contains new line characters.  Effectively, the null terminated string contains a small number of "lines".  This string is formatted in genSub record and the output field in which the string is held is of type "CHAR" and of length n characters, long enough to hold the string.

When I display this string in an EDM Text Monitor widget, the new line characters are displayed as (0A) and the text that follows is not displayed on next line.  I was hoping that the new line character imbedded in a string would have the expected behavior.  In fact, Text Monitor, Text Update, and Text Control, all do the same thing with the new line character.

Is there a way in EDM to display such a string effectively as printf would?

I know that I could break up the string into separate lines of text, one per EPICS record, but that would end up with a lot of extra record and much extra work.  Besides, it would be difficult to handle a variable number of lines of text...

Thanks in advance,
Zen


Replies:
RE: Text Monitor Widget Singleton, Steve (DLSLtd,RAL,DIA)

Navigate by Date:
Prev: Archiver over long timespans Pierrick Hanlet
Next: Asyn R4.11 Szalata, Zenon M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Archiver over long timespans Pierrick Hanlet
Next: RE: Text Monitor Widget Singleton, Steve (DLSLtd,RAL,DIA)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·