Hi all,
I want to add a prefix to all PV names on my IOC. I definitely want a
central place where this prefix can be changed (e.g. defined in st.cmd).
Although this is easy to accomplish with dbLoadRecords and macro
substitution, it seems to be much more difficult if records are loaded
with dbLoadTemplate (because dbLoadTemplate does not support macro
substitution in template files). I found a thread about using multiple
levels of substitution
(http://www.aps.anl.gov/epics/tech-talk/2008/msg00014.php) but I still
cannot believe that such an easy thing could be that complicated...
I also read about host side macro expansion
(http://www.aps.anl.gov/epics/tech-talk/2007/msg00689.php) but didn't
find out how to use that. Can someone please give me a hint?
Any other ideas how to add a prefix are greatly appreciated, too.
Cheers
Martin
--
Dipl. Phys. Martin Konrad
Technische Universität Darmstadt
Institut für Kernphysik
Schlossgartenstr. 9
64289 Darmstadt
Tel.: +49-6151-16-5121
Fax: +49-6151-16-4321
- Replies:
- Re: adding a prefix to all PV names with macro substitution Tim Mooney
- Navigate by Date:
- Prev:
Re: mbbi/mbbo Mask values Andrew Johnson
- Next:
Re: Proposed change in asyn - request for comments Bruce Hill
- 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
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: mbbi/mbbo Mask values Ralph Lange
- Next:
Re: adding a prefix to all PV names with macro substitution Tim Mooney
- 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
2020
2021
2022
2023
2024
|