EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: porting record to 3.13.4 (part 2)
From: Marty Kraimer <[email protected]>
To: Pedro Gigoux <[email protected]>
Cc: Andrew Johnson <[email protected]>, EPICS Tech-Talk <[email protected]>
Date: Thu, 25 Oct 2001 07:21:40 -0500
Pedro Gigoux wrote:

> at the beginning of ecsMotorRecord.dbd. The fields are defined as
> follows:
> 
>         field(SIMM,DBF_MENU) {
>                 prompt("Simulation Mode")
>                 asl(ASL1)
>                 pp(NO)
>                 interest(1)
>                 menu(ecsMotorSIMM)
>                 initial("0")
>         }
>         field(DBUG,DBF_MENU) {
>                 prompt("Debug Mode")
>                 asl(ASL1)
>                 pp(NO)
>                 interest(1)
>                 menu(ecsMotorDBUG)
>                 initial("0")
>         }
> 
> Despite the "initial" statements, SIMM and DBUG have big (and invalid)
> values after iocInit completes. Any ideas?


The initial value must be one of the valid menu choices.
Look at <base>/dbd/dbCommon.dbd. It has the definitions

        field(STAT,DBF_MENU) {
                prompt("Alarm Status")
                special(SPC_NOMOD)
                menu(menuAlarmStat)
                initial("UDF")
        }
        field(SEVR,DBF_MENU) {
                prompt("Alarm Severity")
                special(SPC_NOMOD)
                menu(menuAlarmSevr)
                initial("INVALID")
        }

Marty Kraimer


References:
porting record to 3.13.4 Pedro Gigoux
porting record to 3.13.4 (part 2) Pedro Gigoux
Re: porting record to 3.13.4 (part 2) Andrew Johnson
Re: porting record to 3.13.4 (part 2) Pedro Gigoux

Navigate by Date:
Prev: Re: porting record to 3.13.4 (part 2) Pedro Gigoux
Next: FW: VSAM BusError ( fix requird on module) Luchini, Kristi
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  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: porting record to 3.13.4 (part 2) Pedro Gigoux
Next: Re: porting record to 3.13.4 Andy Foster
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·