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  2016  2017  2018  2019  <20202021  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  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: weird record names?
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: Maren Purves <m.purves at eaobservatory.org>, Jack <Mauro.Giacchini at lnl.infn.it>
Cc: EPICS Tech-Talk <tech-talk at aps.anl.gov>
Date: Tue, 9 Jun 2020 08:00:42 -0700
On 6/8/20 11:35 PM, Maren Purves wrote:
> We  have underscores as well. I consider those normal.


My purpose is to catalog what is actually being used, and not to pass
judgement on "normal".  My putting "weird" in the subject line was
shameless click bait to hopefully gather more data.

Any unicode record names out there?


> Maren Purves
> East Asian Observatory/JCMT
> 
> On Mon, Jun 8, 2020 at 8:27 PM Jack via Tech-talk <tech-talk at aps.anl.gov <mailto:tech-talk at aps.anl.gov>> wrote:
> 
>     Hi Michael,
> 
>     the naming convention of SPES project contain the characters: ^ _
> 
>     Thanks,
> 
>     -Mauro
> 
>     On 08/06/2020 23:08, Michael Davidsaver via Tech-talk wrote:
>>     I'm looking to collect examples of epics record names in the wild.
>>
>>     This is an early step towards (maybe) adding restrictions on what
>>     characters a record name can contain, and in what positions.
>>     eg. restricting possible first and last characters.
>>
>>     In particular I'm looking for examples including characters
>>     beyond the usual alphanumeric separated by ':' or '-'.
>>     And in what positions they may (or may not) appear.
>>
>>     An example from the NSLS2 naming convention (for which I am have
>>     some responsibility).
>>
>>>     TST{evm:1D-DlyGen:31}Evt:Trig2-SP
>>     Which is notable for containing "{" and "}" in the middle.
>>
>>
>>
>>     As background.  At present, records can be created with almost
>>     any characters in a name.
>>
>>>     record(ai, "a b") {}
>>>     record(ai, "x.y") {}
>>>     record(ai, "x\"") {}
>>     However, record names including '.' can't be addressed and aren't
>>     very useful.  Further, names including spaces can't be targeted
>>     by links.
>>
>>     On the subject of links.  Dirk was surprised to find that
>>     the syntax for link parsing treats "[0]" as a record name,
>>     but "[0,1]" as a constant array.
>>
>>     https://bugs.launchpad.net/epics-base/+bug/1882520
>>
>>     Rather than carving out another exception, I'd like to look at
>>     coding a general rule.
>     -- 
>     	
>     Mauro Giacchini
>     Control System Specialist  ISTITUTO NAZIONALE DI FISICA NUCLEARE
>      
>     p/f: 0039.049.80.68.558 a: Viale universita' 2, 35020 Legnaro, PD -ITALY- 
>     e: mauro.giacchini at lnl.infn.it <mailto:mauro.giacchini at lnl.infn.it> s: yakman000 
>      
> 
>      
> 
> 
>     ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>     Avast logo <https://www.avast.com/antivirus> 	
> 
>     Questa e-mail è stata controllata per individuare virus con Avast antivirus.
>     www.avast.com <https://www.avast.com/antivirus>
> 
> 
>     <#m_-6962127449305410035_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> 


Replies:
Re: weird record names? Jiro Fujita via Tech-talk
Re: weird record names? Faucett, John Allen via Tech-talk
References:
weird record names? Michael Davidsaver via Tech-talk
Re: weird record names? Jack via Tech-talk
Re: weird record names? Maren Purves via Tech-talk

Navigate by Date:
Prev: Re: weird record names? Konrad, Martin via Tech-talk
Next: Re: weird record names? Jiro Fujita via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: weird record names? Maren Purves via Tech-talk
Next: Re: weird record names? Jiro Fujita via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 12 Jun 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·