EPICS Home

Experimental Physics and Industrial Control System


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

Subject: Re: initial(init_value) rule within a field sometimes works - follow up
From: Andrew Johnson <[email protected]>
To: [email protected], [email protected]
Date: Wed, 7 Jan 2009 10:07:53 -0600
Hi Ivan,

On Wednesday 24 December 2008 04:29:41 ivan wrote:
> I found that although I had done a make clean the iocpsc.db file that I
> had created in the Db folder was not updated in the db folder after
> make.  So manually copying the file to the db folder curred the problem.
> I could then initialize all my fields from the substitute file.
>
> Maybe there is another param for the make process that would have
> updated this file, as I said "make clean" didn't do the trick.

How are you generating and installing the iocpsc.db file?  If you post the 
contents of your xxxApp/Db/Makefile we might be able to help.  If you wrote 
your own rule you probably want to write a clean:: rule as well to delete 
the .db files you generate, or make sure that the .db files are listed in the 
TARGETS variable which is included in a built-in clean:: rule.

Writing rules for EPICS Makefiles is a little different than with other 
packages because of the way that we share the Makefile between the source 
directory and build directory; you might want to study the file at 
<base>/configure/RULES.Db to look at the rules that we provide for database 
files, documentation for which is mostly in section 4.6.10 of the Application 
Developers' Guide.

- Andrew
-- 
The best FOSS code is written to be read by other humans -- Harold Welte

Navigate by Date:
Prev: Re: RTYP field through the PV Gateway Andrew Johnson
Next: RE: RTYP field through the PV Gateway Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: caget return timeout Ralph Lange
Next: EPICs base MingW32 compilation failed ! URIOT Didier
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024