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
<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: 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
<2001>
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|