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: MEDM enum not displaying correctly?
From: Benjamin Franksen <[email protected]>
To: [email protected]
Date: Wed, 18 Jul 2007 23:30:50 +0200
On Tuesday 17 July 2007 22:35, Benjamin Franksen wrote:
> Anyway, it should be possible to work around this issue, too, by making
> the field special(SPC_DBADDR) in the dbd and adding an appropriate
> method to the record support. This method is called prior to
> the request

This is completely wrong. Method cvt_dbaddr is called during pv name 
resolution (that is, from dbNameToAddr) /not/ before each request. 
Therefore, cvt_dbaddr does /not/ work.

> you need to take care
> that your record support is able to correctly answer a string request for
> the field in question. As you found out it is not possible to use the
> built-in conversion support because it is limited, albeit to 30 items,
> not 16, at least since 3.14.

This is at least misleading. The methods get_enum_str and put_enum_str 
('str' in singular), if implemented correctly, should work as long as the 
request type is DBF_STRING.

Sorry for the misinformation.

Cheers
Ben

References:
MEDM enum not displaying correctly? Heinrich du Toit
Re: MEDM enum not displaying correctly? Benjamin Franksen
Re: MEDM enum not displaying correctly? Benjamin Franksen

Navigate by Date:
Prev: Mantis Bug Tracker Fixed Andrew Johnson
Next: How to declare the command array? zhangdemin99
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: MEDM enum not displaying correctly? Benjamin Franksen
Next: IPac driver organisation Doug Murray
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 ·