All,
Most of you must be familiar with dbLoadRecord and dbLoadTemplate.
I like the first one because you can pass parameters which are not
necessarily hard coded (i.e. you can use the same db file for different
instances).
epicsEnvSet(DEVN,"toto")
dbLoadRecord(file.db,"deviceName=$(DEVN)")
I like the dbLoadTemplate because of the clarity, but then for each
device instantiation you need to create a complete substitution file.
Is there a way to do something like this:
dbLoadTemplate(file.sub,"deviceName=$(DEVN)")
Where the db files is generated and then parsed once again with macro
provided in command line?
--
Emmanuel Mayssat
Cell: 650/793-0626
Lyncean Technologies, Inc.
- Replies:
- Re: dbLoadRecord or dbLoadTemplate Ralph Lange
- Navigate by Date:
- Prev:
Re: error code mapping best practice Maren Purves
- Next:
Ethernet client library Emmanuel Mayssat
- 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:
Job Opennings at NSLS II bdalesio1
- Next:
Re: dbLoadRecord or dbLoadTemplate Ralph Lange
- 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
|