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: Ben Franksen <[email protected]>
To: [email protected]
Date: Thu, 9 Sep 2010 19:11:01 +0200
On Donnerstag, 9. September 2010, Marty Kraimer wrote:
>   On 09/08/2010 04:09 PM, Ben Franksen wrote:
> > On Mittwoch, 8. September 2010, Eric Norum wrote:
> >> What's the use case for this, anyhow?
> >
> > Yes, I would be interested in that, too.
>
> The following is not for an embeded system but does show a good use
> for on-line add and delete.
>
> Guabao Shen (BNL) is developing a "gather" service. The service uses
> a javaIOC. The javaIOC has gather records. Each gather record
> collects data from a set of caV3 records and provides the result to
> the client as an array.

Cool. This can be done in V3 (I actually did, it's in the 'fun' module), 
but it is awkward since the number of input links must be fixed per 
record type. My latest trick to circumvent this is to auto-generate 
record types with various sizes from a dbd template and in the 
application select the smallest record type that fits.

> The javaIOC also has a createGather record. The client supplies a
> list of channels to the createGather record. When the record
> processes it creates and installs a new gather record. The gather
> record can be temporary or permanent. If the record is temporary than
> after no clients are attached to the record for some fixed period of
> time the gather record is automatically deleted. If it is permanent
> it can be deleted by request.

Extra cool.

> Both on-line add and delete are required in other for this to be a
> robust service.

Cheers
Ben
-- 
"Never confuse what is natural with what is habitual."
                                                 -- Mahatma Gandhi

References:
Dynamic Loading and Unloading of EPICS Device Support and Record. Ernest L. Williams Jr.
Re: Dynamic Loading and Unloading of EPICS Device Support and Record. Ben Franksen
Re: Dynamic Loading and Unloading of EPICS Device Support and Record. Marty Kraimer

Navigate by Date:
Prev: Re: msi again Ben Franksen
Next: [Bug 641365] [NEW] Incorporate macLibREADME text into 19.16 Andrew Johnson
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: Re: Dynamic Loading and Unloading of EPICS Device Support and Record. Ralph Lange
Next: Re: Dynamic Loading and Unloading of EPICS Device Support and Record. Ben Franksen
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 ·