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  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: Re: Can I override record definition twice in an IOC
From: bob dalesio <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Fri, 8 Jan 2016 07:55:04 -0500
If you are loading multiple instances of the same record into the same IOC, the second one will just overwrite the fields that were defined in the first one to be loaded, with those that are defined in the second instance. 

On Fri, Jan 8, 2016 at 7:40 AM, <[email protected]> wrote:
I have implemented a record in two separate files which I then use substitutions to combine into a single db file. I am unsure I am allowed to do this after talking to a colleague; he is worried that this will create 2 PVs with identical names. My DB file contains (after make):


record(ai, "NAME") {
  field(DESC, "A PV")
  field(EGU, "Gauss")
}

...

record(ai, "NAME") {
  field(FLNK, "ANOTHER_RECORD")
}

Does this do what I am expecting, which is to create a single PV:


record(ai, "NAME") {
  field(DESC, "A PV")
  field(EGU, "Gauss")
  field(FLNK, "ANOTHER_RECORD")
}

Thank you.

John
This message is commercial in confidence and may be privileged.  It is intended for the
addressee(s) only.  Access to this message by anyone else is unauthorized and strictly prohibited.
If you have received this message in error, please inform the sender immediately.  Please note that
messages sent or received by the Tessella e-mail system may be monitored and stored in an
information retrieval system.





Replies:
Re: Can I override record definition twice in an IOC Ralph Lange
References:
Can I override record definition twice in an IOC John . Holt

Navigate by Date:
Prev: Can I override record definition twice in an IOC John . Holt
Next: Re: Can I override record definition twice in an IOC Ralph Lange
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: Can I override record definition twice in an IOC John . Holt
Next: Re: Can I override record definition twice in an IOC Ralph Lange
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 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·