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  <20102011  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  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Long string ...
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Mon, 27 Sep 2010 14:59:20 -0500
On Monday 27 September 2010 14:17:55 [email protected] wrote:
>
> That doesn't seem to work either (at least with a stringout record)

You need to use the -S option to get the caget/caput/camonitor tools to handle 
an array of chars as a long string.

All the '$' field modifier does on a string or link field is to change the 
native field type that the CA server reports for that channel into an array of 
chars.  Your CA clients have to be coded with a configuration switch to turn 
on the handling of such char arrays as a long string; MEDM and EDM have been 
able to do this in their text widgets for many years (you do have to configure 
the widgets properly though).  The catools programs use that -S switch.

If you maintain your own CA client program, do *not* try to recognize the '$' 
field modifier and make that the behaviour switch, as they wouldn't be able  
to store/read text in a waveform record.

- Andrew
-- 
The best FOSS code is written to be read by other humans -- Harald Welte


References:
Long string ... emmanuel_mayssat
Re: Long string ... Pete R. Jemian
Re: Long string ... emmanuel_mayssat

Navigate by Date:
Prev: Re: Long string ... emmanuel_mayssat
Next: Re: Long string ... Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Long string ... emmanuel_mayssat
Next: Re: Long string ... Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 27 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·