Experimental Physics and Industrial Control System
|
Patrick, Some of the beamlines here solve this problem by adding a
common App directory for stuff (not just databases; also display files,
SNL programs, etc.) that is not specific to a single ioc.
Tim
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?
Thank you,
Patrick
Mark Rivers wrote:
You can put entries in the xxxApp/Db/Makefile, and then make will copy
the .db files to the TOP/db directory. But you don't have to do this
if you don't want to, you can have the IOC directly load the .db files
out of the xxxApp/Db directory. The latter is what I do, because I
deploy EPICS on sites where they don't have a build system, and so
can't run make. So we just use the .db files in the Db/ directory.
Mark
________________________________
From: [email protected] on behalf of Patrick Thomas
Sent: Wed 9/23/2009 5:38 PM
To: Andrew Johnson
Cc: [email protected]
Subject: Re: db folder
I'm sorry, I don't quite follow, where do I put the .db files that will
be loaded by the ioc? Do I have to put something in one of the Makefiles?
Andrew Johnson wrote:
On Wednesday 23 September 2009 16:23:54 Patrick Thomas wrote:
Does makeBaseApp -t ioc normally create a db folder in the top
directory, or does that get made by the user?
Neither; directories such bin, db, dbd, doc, html, include, and lib
will get
created at build time when make has something that needs to be
installed in
the relevant directory. Note that if you do a 'make distclean' at
the top
level, these directories *and their contents* will be deleted, so it
is a bad
idea to add files to them manually as they might not have a very long
life.
HTH,
- Andrew
--
Tim Mooney ([email protected]) (630)252-5417
Beamline Controls & Data Acquisition Group
Advanced Photon Source, Argonne National Lab.
- 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 Jason Tiller
- Next:
Re: db folder Stephen Lewis
- 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: db folder Stephen Lewis
- Next:
RE: db folder [SEC=UNCLASSIFIED] LYNCH, Damien
- 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
|
ANJ, 31 Jan 2014 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|