Thanks to all that answered my email.
I have successfully implemented initializing dynamically menu strings (in mbbo record) by creating a device support C module for a fictitious device. This gives me access to the mbboRecord structure at IOC init time. I have chosen INST_IO as link type since its structure is the simplest of all.
Now, the mbbo record is needed only as a menu of choices, where the numeric value of the selected item is used in genSub routine. The mbbo record never does any IO.
In my xxxx.dbd file I have the following:
device( mbbo, INST_IO,devMbboSoftMag, "softMag")
The thing is that I was looking for an even simpler solution, but what I did works.
Zen
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of David Kline
Sent: Tuesday, September 15, 2009 9:45 AM
To: Rod Nussbaumer
Cc: [email protected]
Subject: Re: MBBO Record Initialization
the new link is: http://www.aps.anl.gov/bcda/synApps/delaygen/delaygen.html
/david
Rod Nussbaumer wrote:
> Ned Arnold wrote:
>> Zen -
>>
>> I believe the device support for the Stanford Research DG535 (used
>> widely) initializes the mbbi/mbbo/bi/bo strings of the records
>> automatically (in other words it does not rely on the user properly
>> defining them in the database). If I remember, it initially caused
>> some confusion because these strings don't show up in the records
>> until iocInit.
>>
>> Ned
>
> I tried to download that from
> <http://www.aps.anl.gov/epics/download/modules/index.php/asyn4-6/dg535
> _1-2.tar.gz> and the page seems to be broken. The link is simply a
> link to the same page, and not to the tarball. Is there an alternative
> location from which to obtain it?
>
> Rod Nussbaumer
> ISAC Controls, TRIUMF
> Vancouver, Canada
--
+-------------------------------------------------+
David M. Kline [email protected]
Beamline Controls and Data Acquisition (BCDA) Argonne National Laboratory, Advanced Photon Source
Argonne IL, 60439 630.252.8639
---------------------------------------------
Beamlines R Us -- EBRICKs Rule
+-------------------------------------------------+
- Replies:
- Re: MBBO Record Initialization (and a proposal) Benjamin Franksen
- References:
- MBBO Record Initialization Szalata, Zenon M.
- Re: MBBO Record Initialization Ned Arnold
- Re: MBBO Record Initialization Rod Nussbaumer
- Re: MBBO Record Initialization David Kline
- Navigate by Date:
- Prev:
Re: MBBO Record Initialization David Kline
- Next:
Re: MBBO Record Initialization (and a proposal) Benjamin Franksen
- 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
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: MBBO Record Initialization David Kline
- Next:
Re: MBBO Record Initialization (and a proposal) Benjamin Franksen
- 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
2020
2021
2022
2023
2024
|