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  2009  2010  2011  2012  <20132014  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  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Text in EDM
From: Andrew Johnson <[email protected]>
To: Michael Johnson <[email protected]>
Cc: [email protected]
Date: Mon, 30 Sep 2013 11:27:36 -0500
Hi Michael,

On 09/30/2013 10:54 AM, Michael Johnson wrote:

We have a new unix-side process at JLab with some interesting knowledge,
and we want to push this knowledge out to an interface. There will be a
lot of text and long lists - way past the EPICS String record
40-character limit.

Please offer any advice or pointers you have:

1) What EDM widgets are favored for this kind of large text output?

2) How does one push data to EDM when PVs do not fit requirements? File
I/O? IPC?

I believe all EPICS OPIs now support long strings, which are just character arrays containing text (which in most cases should be nil-terminated, but the client must not assume that). MEDM and EDM certainly allow you to point a text widget to a waveform record or other array field (the aSub record is also good for this) that is configured to hold CHARs. In the case of MEDM you do have to configure the widget display Format to "string", I'm not sure about EDM. Note that the caput/caget/camonitor programs that come with base support long strings with a -S option.

I can't tell you how the widget actually interprets the text, hopefully EDM supports wrapping and line breaks, but I have no idea if it actually does (I don't think MEDM can but I haven't tried it). It would seem like someone might even be able to write a widget that could handle a pluggable formatter to accept Markdown or even HTML, but I'm not sure if it would really be worth doing that.

HTH,

- Andrew
--
Advertising may be described as the science of arresting the human
intelligence long enough to get money from it. -- Stephen Leacock

Replies:
RE: Text in EDM Sinclair, John William
References:
Text in EDM Michael Johnson

Navigate by Date:
Prev: Text in EDM Michael Johnson
Next: RE: Text in EDM Sinclair, John William
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Text in EDM Michael Johnson
Next: RE: Text in EDM Sinclair, John William
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·