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: Autosave ignores PVs starting with some characters
From: "Mooney, Tim M." <[email protected]>
To: "Konrad, Martin" <[email protected]>, EPICS Tech Talk <[email protected]>
Date: Wed, 7 Sep 2016 15:40:18 +0000
Hi Martin,

Thanks for the patch.  I'm fine with recognizing PV names that begin with an underscore, but it doesn't feel like a very good idea to let some of those other characters begin valid lines in an autosave request file.  It's not my job to decide what are valid first characters for PV names, and I don't know of any rule other than the list of valid characters you noted.  Maybe we should decide this on purpose, rather than by default.

Does anyone have concerns about parsing PV names that might motivate restricting the first character more tightly than the other characters?

Tim Mooney ([email protected]) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


________________________________________
From: Konrad, Martin [[email protected]]
Sent: Tuesday, September 06, 2016 4:09 PM
To: Mooney, Tim M.; EPICS Tech Talk
Subject: Autosave ignores PVs starting with some characters

Hi Tim,
I recently came across the following issue with Autosave: PV names
starting with '_' did not get saved. Comparing the source code with the
list of allowed characters (see chapter 6.3 General Rules for Database
Definition of the Application Developers Manual) revealed that all PVs
starting with one of the following characters will not be saved:

'_', '-', ':', '.', '[', ']', '<', '>', ';'

They make it into the automatically generated .req file but not into the
.sav file. The attached patch fixes the problem for me.

Thanks!

Martin

--
Martin Konrad
Control System Engineer
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824-1321, USA
Tel. 517-908-7253
Email: [email protected]


Replies:
RE: Autosave ignores PVs starting with some characters Mooney, Tim M.
References:
Autosave ignores PVs starting with some characters Konrad, Martin

Navigate by Date:
Prev: Re: Building SEQ 2.2.3, Windows, EPICS Base 3-15-2 Benjamin Franksen
Next: github hides accounts Kevin Peterson
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: Autosave ignores PVs starting with some characters Mark Engbretson
Next: RE: Autosave ignores PVs starting with some characters Mooney, Tim M.
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, 07 Sep 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·