EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Dynamic Loading and Unloading of EPICS Device Support and Record.
From: Andrew Johnson <[email protected]>
To: "Ernest L. Williams Jr." <[email protected]>
Cc: Core-Talk <[email protected]>, "Geng, Zheqiao" <[email protected]>
Date: Tue, 7 Sep 2010 15:44:17 -0500
Hi Ernest,

On Tuesday 07 September 2010 14:54:51 Ernest L. Williams Jr. wrote:
>
> What is the current project status of EPICS Dynamic Record loading?
> Is that only on the 3.15 trunk?

It's not even planned for implementation there at the moment, let alone 
available.  The problem is that there are *no* locks for the data structures 
that describe the currently loaded records, and any attempt to retro-fit them 
will probably cause a major performance hit on the IOC runtime.

> As we embark upon uTCA here at SLAC; we will need that functionality.

Then you're going to need to allocate a lot of *talented* manpower to help us 
implement it in version 3.x, or take a step back and re-think what you need to 
do.

One possibility might be to write code that probes the crate and works out 
what devices the IOC has to control, then generate the necessary .db file(s) 
from that information.  At that point you can fire up the IOC, load those .db 
files and start controlling stuff.  If you need to shut down just a part of an 
active IOC without affecting the rest of it, you would regenerate the .db 
files with the necessary devices removed and restart the IOC with the now 
reduced .db files, then you're free to take out the relevant hardware without 
it disturbing the IOC.  You might want to look into the DESY/KEK work on 
redundant IOCs for making the restart as fast as possible.

Alternatively start looking at Marty Kraimer's Java IOC which I believe was 
designed to allow dynamic record creation and deletion.

- Andrew
-- 
The best FOSS code is written to be read by other humans -- Harald Welte


Replies:
Re: Dynamic Loading and Unloading of EPICS Device Support and Record. Marty Kraimer
RE: Dynamic Loading and Unloading of EPICS Device Support and Record. Geng, Zheqiao
References:
Dynamic Loading and Unloading of EPICS Device Support and Record. Ernest L. Williams Jr.

Navigate by Date:
Prev: Dynamic Loading and Unloading of EPICS Device Support and Record. Ernest L. Williams Jr.
Next: Re: Dynamic Loading and Unloading of EPICS Device Support and Record. Marty Kraimer
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Dynamic Loading and Unloading of EPICS Device Support and Record. Ernest L. Williams Jr.
Next: Re: Dynamic Loading and Unloading of EPICS Device Support and Record. Marty Kraimer
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·