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  2016  2017  2018  2019  <20202021  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  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS Records at Runtime
From: "Jemian, Pete R. via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 17 Jun 2020 16:40:52 +0000
Jalal:

What is your use case where records can change very often so that you 
wish to load a new database record file after iocInit?  I do not believe 
it is possible to change the list of PVs after iocInit.

Changes in the unit of measurement are possible without changes in the 
database (by writing to the .EGU field).

Pete

On 6/17/2020 11:31 AM, Bruno Martins via Tech-talk wrote:
> Hi Jalal,
> 
> I believe you are free to register code that runs before iocInit that 
> calls dbLoadRecords (see IOC hooks registration [1]).
> I don't know if that can be done after iocInit, probably not?
> 
> [1] 
> https://epics.anl.gov/base/R3-15/6-docs/AppDevGuide/IOCInitialization.html#x8-2950007.7
> 
> Bruno
> 
> 
> On Wed, Jun 17, 2020 at 12:27 PM Mostafa, Jalal (IPE) via Tech-talk 
> <tech-talk at aps.anl.gov <mailto:tech-talk at aps.anl.gov>> wrote:
> 
>     Hi all!
> 
> 
>     We have quite "dynamic" configuration files for EPICS i.e. records
>     can change very often (new records, change in the unit of
>     measurement, ...).
> 
>     Is there a way to load a new database record file after
>     `/iocInit/` without restarting the IOC? or even adding records at
>     runtime?
> 
> 
>     Best,
> 
>     Jalal
> 

-- 
----------------------------------------------------------
Pete R. Jemian, Ph.D.                 <jemian at anl.gov>
Beam line Controls and Data Acquisition (BC, aka BCDA)
Advanced Photon Source,    Argonne National Laboratory
Argonne, IL  60439                    630 - 252 - 3189
-----------------------------------------------------------
       Education is the one thing for which people
          are willing to pay yet not receive.
-----------------------------------------------------------



References:
EPICS Records at Runtime Mostafa, Jalal (IPE) via Tech-talk
Re: EPICS Records at Runtime Bruno Martins via Tech-talk

Navigate by Date:
Prev: Re: EPICS Records at Runtime Bruno Martins via Tech-talk
Next: Re: IOC Startup - init value used sometimes instead of put Paul Nord via Tech-talk
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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS Records at Runtime Bruno Martins via Tech-talk
Next: Re: EPICS Records at Runtime Johnson, Andrew N. via Tech-talk
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  <20202021  2022  2023  2024 
ANJ, 17 Jun 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·