EPICS Home

Experimental Physics and Industrial Control System


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

Subject: .template and .db files
From: Phil Atkin <[email protected]>
To: [email protected]
Date: Wed, 6 Jan 2016 17:00:23 +0000
I'm developing an areaDetector driver and IOC.  The code and folder structure is based on ADExample.

In addition to the 'standard' parameters/PVs associated with an areaDetector IOC, I need some additional parameters/PVs that are specific to my camera etc.  I also need to 'override' some of the standard definitions (due to limited data type support, no colour support etc.).

Questions:
  • To add my 'new' parameters/PVs, do I only need to create a new .template file and then do dbLoadRecords... for that file during the IOC startup sequence?  (I.e. am I correct that I do not need to change the equivalent of simDetectorApp.dbd, which is very long but doesn't seem to contain anything specific to the ADExample camera?).
  • Am I also correct that, the database aspects of the 'new' parameters/PVs are not involved in the build process?  (Conversely, the simDetectorApp.dbd analog is involved).
  • What is the difference between a .dbd file and a .template file?

Thanks,

Phil

--
Pixel Analytics is a limited company registered in England. Company number: 7747526; Registered office: 93A New Road, Haslingfield, Cambridge CB23 1LP

Replies:
RE: .template and .db files Mark Rivers

Navigate by Date:
Prev: RE: Please, Help me;; dbLoadRecords Mark Rivers
Next: RE: .template and .db files Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Please, Help me;; dbLoadRecords Mark Rivers
Next: RE: .template and .db files Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024