EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: A patch for medm
From: Kate Feng <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: [email protected]
Date: Fri, 21 Dec 2007 12:35:53 -0500
Andrew Johnson wrote:

> Kate Feng wrote:
> > MEDM version 3.03 :
> >
> > When I defined only three states for a  mbbo record,
> > the following warning message will pop up whenever  CA is
> > connected.
> >
> > menuUpdateValueCb: Got state 3.
> >  Only have strings for 3 states (starting at 0).
> >  Kate:Mset_formatmode
>
> Your record has three state strings for states #0, 1 and 2, but the VAL
> field is set to 3 which does not correspond to a valid state.  Either
> you need to define a fourth state string, or change the record so it is
> never set to the value 3.  This is not a bug in MEDM.
>

It was really a modular problem in my application . I found out  that
the error message was triggered only because I forgot to specify  'rval'
on that particualr mbbo record in the init_mbbo_record().  This is the
reason why  'val'  was set to an unknown state instead of the one
I specified.

Thanks,
Kate



References:
A patch for medm Kate Feng
Re: A patch for medm Andrew Johnson

Navigate by Date:
Prev: RE: Help with udev Dr. Peter Hartmann
Next: RE: Help with udev Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: A patch for medm Kate Feng
Next: genSub and EFLG John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·