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: Re: vdct problem with quoted strings
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Thu, 22 Jan 2009 14:51:18 -0600
Hi Steve,

On Thursday 22 January 2009 14:27:44 Steve Kinder wrote:
> I have seen what may be a bug with vdct when using quoted strings in
> fields. This has occured when using these strings in the calc fields of
> scalcout records. As an example using calcs like A=6?0:dbl(AA["X ","Z"]).
> vdct saves this as field(CALC, "A=6?0:dbl(AA[\"X \",\"Z\"])"). Fine.
> However when running vdct again and loading these fields back in they all
> seem to be truncated after the first \.
>
> Not sure there will be an easy workaround this. I believe the quotes within
> the field are necessary. Just wanted to report it somewhere as it seems
> like a bug.

It looks like the scalcout record understands both single- and double-quoted 
strings, so try using this for your expression instead:
	A=6?0:dbl(AA['X ','Z'])

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

Replies:
Re: vdct problem with quoted strings Steve Kinder
References:
vdct problem with quoted strings Steve Kinder

Navigate by Date:
Prev: vdct problem with quoted strings Steve Kinder
Next: RE: Very slow reconnection to medm after IOC reboot Mark Rivers
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: vdct problem with quoted strings Steve Kinder
Next: Re: vdct problem with quoted strings Steve Kinder
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 ·