EPICS Controls 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  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: db folder
From: Jason Tiller <[email protected]>
To: [email protected]
Date: Fri, 25 Sep 2009 19:27:01 -0700 (PDT)
Hi, Patrick, :)

On Fri, 25 Sep 2009, Patrick Thomas wrote:

What should I do if I have multiple iocs under the same top
directory, and they all use a common .db file? Is there a similar Db
directory to put them in that is not specific to one application?

I, too, am a very new EPICSonian.  When I encountered this problem, I
learned that trying to maintain multiple copies became unwieldy very
quickly, especially with four or five controls weenies trying to use
it simultaneously.

My solution was to write a module that holds the shared DB files.
Then include your new module in all of the IOCs that need it.  If
they're just DB files (not templates), then you can place

DB_INSTALLS += $(YOUR_MODULE)/db/your_db_file.db

in your Db/Makefile.  This will copy the module's .db into your 'db'
directory.

---Jason

Replies:
Re: db folder Stephen Lewis
References:
db folder Patrick Thomas
Re: db folder Andrew Johnson
Re: db folder Patrick Thomas
RE: db folder Mark Rivers
Re: db folder Patrick Thomas

Navigate by Date:
Prev: Re: db folder Eric Norum
Next: Re: db folder Tim Mooney
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: db folder Eric Norum
Next: Re: db folder Stephen Lewis
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 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·