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: "Steve Kinder" <[email protected]>
To: "Andrew Johnson" <[email protected]>, <[email protected]>
Date: Fri, 23 Jan 2009 12:27:03 -0000
Hi Andrew

Thanks, that works around the problem nicely.

Steve

----- Original Message ----- From: "Andrew Johnson" <[email protected]>
To: <[email protected]>
Cc: "Steve Kinder" <[email protected]>
Sent: Thursday, January 22, 2009 8:51 PM
Subject: Re: vdct problem with quoted strings


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



References:
vdct problem with quoted strings Steve Kinder
Re: vdct problem with quoted strings Andrew Johnson

Navigate by Date:
Prev: Re: RTEMS soft reboot Till Straumann
Next: Re: stop all motors Kate Feng
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: Re: vdct problem with quoted strings Andrew Johnson
Next: RTEMS soft reboot Matt Rippa
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 ·