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

Subject: RE: caget pv with a space
From: Mark Rivers <[email protected]>
To: 梁雅翔 <[email protected]>, tech-talk <[email protected]>
Date: Tue, 22 Mar 2016 03:32:15 +0000
The EPICS Application Developer's Guide says the following: (Version 3.14.12.5 Page 97)

******************************************
6.3.2 Unquoted Strings

In the summary section, some values are shown as quoted strings and some unquoted. The actual rule is that any string
consisting of only the following characters does not have to be quoted unless it contains one of the above keywords:

     a-z A-Z 0-9 _ - : . [ ] < > ;

These are also the legal characters for process variable names. Thus in many cases quotes are not needed
******************************************

Note that it lists the legal characters for process variable names, and they do not include a space.

I would not use a space in a process variable name for this reason.  Even if it works in some applications today, it could break in the future.

Mark

________________________________________
From: [email protected] [[email protected]] on behalf of 梁雅翔 [[email protected]]
Sent: Monday, March 21, 2016 10:13 PM
To: tech-talk
Subject: caget pv with a space

Hi everyone,

   I have a small question.
   I have a pv named "Encode distance". It has a space in it, when I use the caget command.
   I got the Encode value and distance value.
   How I could do get the only value of the Encode distance ?

Regards,
Liang yx



References:
caget pv with a space 梁雅翔

Navigate by Date:
Prev: RE: caget pv with a space Jemian, Pete R.
Next: DSO missing from command line when installing medm 彭毛毛
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: caget pv with a space Jemian, Pete R.
Next: Re: caget pv with a space bob dalesio
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·