g+
g+ Communities
Argonne National Laboratory

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  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014 
<== Date ==> <== Thread ==>

Subject: Re: initial(init_value) rule within a field sometimes works - follow up
From: Andrew Johnson <anj@aps.anl.gov>
To: tech-talk@aps.anl.gov, ivan@tlabs.ac.za
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 
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 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·