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 01:18:39 +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
> cvt_dbaddr method to the record support. This method is called prior to
> the request and can change all the values of the DB_ADDR that it
> receives. So, whenever you get a request of type DBR_STRING, just change
> the field pointer of the structure to point to the correct string in you
> string table.

Oh, and you must of course also change the field type in the DBADDR struct 
to DBF_STRING, otherwise your string data gets interpreted as a DBF_ENUM 
which would be, ahem, bad.

Cheers
Ben

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

Navigate by Date:
Prev: Re: IPac driver organisation Andrew Johnson
Next: RE: ai, soft channel, and breakpoint table Allison, Stephanie
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: Re: MEDM enum not displaying correctly? Benjamin Franksen
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 ·