EPICS Home

Experimental Physics and Industrial Control System


 
1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CapFast naming
From: Johnny Tang <[email protected]>
Date: Wed, 3 May 95 8:17:35 EDT
=============================================================
Johnny Tang     Voice: (804)249-7239  E-Mail: [email protected]
Continous Electron Beam Accelerator Facility
12000 Jefferson Avernue, MS 85A
Newport News, Va 23606
=============================================================
Mailer: Elm [revision: 70.85]


> 
> A question for the CapFast experts. I have just started using CapFast and
> constructed some hierarchical symbols. I found that when I produced the
> database from the schematic some of the records within these symbols had
> extra digits appended to the names preceded by an underscore. e.g. a
> record called test might come out as test_32. This would not be so bad but
> as I changed the structure of the symbol the digits would also change i.e.
> test_32 might become test_6. This plays havoc with any CA clients. 
> Any suggestions as to what is going on ?
> 
>    Chris Mayer
>

  edif2sr with "-n truncate" option is supposed to truncate the _<digits>.
I believe, however, the code has a bug. It only truncates single digit. 

  Two other options have been used at CEBAF to handle this problem:

  1. Using the renaming tool, "sr2sf" developed at CEBAF.
   
     ftp.cebaf.gov:/pub/epics/capfastTools/
     ftp.cebaf.gov:/pub/epics/doc/capfastTools/

  2. Write a little script using sed & awk to parse the short form.


  Johnny Tang
  CEBAF
  

Navigate by Date:
Prev: CapFast naming Chris Mayer
Next: CapFast Motif Ian Smith
Index: 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: CapFast naming Chris Mayer
Next: Re: Capfast Naming Matthew Needes
Index: 1994  <19951996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024