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

Subject: RE: long strings in edm
From: <[email protected]>
To: <[email protected]>
Date: Tue, 21 Jun 2011 10:34:24 +0000
Thanks for the info.

Does anyone know which version of edm this was added too. It appears our 1-12-28 (Mar2010) edm version doesn't support it.

Pete

-----Original Message-----
From: Andrew Johnson [mailto:[email protected]]
Sent: 17 June 2011 18:13
To: [email protected]
Cc: Leicester, Pete (DLSLtd,RAL,DIA)
Subject: Re: long strings in edm

Hi Pete,

On 2011-06-17 [email protected] wrote:
> In epics 3.14.11 it is possible to caput a long string (> 40 characters)
>  using the following:
>
> caput -S mypv$ "some string that is longer than 40 characters"

Not quite; $ is a legal character in a record name, so to make this a long
strings the $ *must* follow the . in the PV name, i.e. you have to use mypv.$
or mypv.VAL$.  The $ field modifier only works for fields of type DBF_*LINK or
for DBF_STRING fields which have size(>40) in the record type's DBD file.

> Is there an equivalent for writing long strings from an edm (version
> 1-12-28) text control or similar widget?

Yes, when writing EDM John Sinclair copied MEDM's support for string I/O to a
PV whose native type is an array of chars (which is what the above field
modifier does).  Just point the regular EDM text widgets at a suitable PV.

> (In my particular case I want to write a long PV name into a DOL field)

You should be able to use this approach, mypv.DOL$

- Andrew
--
Optimization is the process of taking something that works and
replacing it with something that almost works, but costs less.
-- Roger Needham

-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 





Replies:
Re: long strings in edm Andrew Johnson
References:
long strings in edm peter.leicester
Re: long strings in edm Andrew Johnson

Navigate by Date:
Prev: RE: Areadetector: driver for VDS Vosskuhler gigE camera? tom.cobb
Next: Fuzzy controller in EPICS Florian Feldbauer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: long strings in edm Andrew Johnson
Next: Re: long strings in edm Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·