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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: MBBO Record Initialization (and a proposal)
From: Eric Norum <[email protected]>
To: "Szalata, Zenon M." <[email protected]>
Cc: "[email protected] Techtalk" <[email protected]>
Date: Wed, 16 Sep 2009 06:47:52 -0500
On Sep 15, 2009, at 6:13 PM, Szalata, Zenon M. wrote:

Hi Ben,
I gave it some thought and it is not clear to me how to make this into a general purpose support module. It could be made into a skeleton module, which a user could take and flash it out to make it useful. Take a look at the three attached file, which is all I have in my "proof of principle" soft IOC.

In the IOC for which I need this, these three files are becoming much more complex. Simply said, the IOC first builds a data base of all defined magnets and associated hardware. This is done from a setup file in C routines. When this is done, then the mbbo records are initialized by calling routines which retrieve data from the magnets data base. The IOC actually controls the Power Supplies which feed power to the magnets and which are controlled and monitored via a set of CAMAC modules. So, the whole system is a rather complicated mess.

So how about moving the complexity back a little?
Are you aware that a record can have fields set up from multiple .db files? In your case, some off-line process reads the the magnets database and creates an 'mbboStrings.db' file. This has record descriptions consisting only of the record name and the mbbo string names. The IOC startup script sets up the mbbo records from multiple .db files -- one of which is the 'mbboStrings.db' file created above.

Although this requires an extra off-line step to se up the mbboStrings.db files it has some gains -- you can inspect the .db files and see what's going to be loaded.

--
Eric Norum <[email protected]>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793



References:
MBBO Record Initialization Szalata, Zenon M.
Re: MBBO Record Initialization David Kline
RE: MBBO Record Initialization Szalata, Zenon M.
Re: MBBO Record Initialization (and a proposal) Benjamin Franksen
RE: MBBO Record Initialization (and a proposal) Szalata, Zenon M.

Navigate by Date:
Prev: RE: MBBO Record Initialization (and a proposal) Szalata, Zenon M.
Next: problem with edm and ASG GOURNAY Jean-Francois
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: MBBO Record Initialization (and a proposal) Szalata, Zenon M.
Next: Is anybody using a Met One Instruments Model 212 Profiler? Maren Purves
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·