EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: only 16 enum states?
From: Marty Kraimer <[email protected]>
To: Dirk Zimoch <[email protected]>
Cc: TECHTALK <[email protected]>
Date: Tue, 23 Nov 2004 07:12:47 -0600


Dirk Zimoch wrote:

Hi all,

when I try to read the choices of an enum field, I only get the first 16. This ist not enough to read all the choices of the LINR field (menuConvert) if there are many breakpoint tables. It's even not enough to read all choices of the STAT field.


As you found out it is a problem in db_access.h, which describes that data that passes through Channel Access.


Is there a fix?

No.



What happens if I change in db_access.h


#define MAX_ENUM_STATES 16

in

#define MAX_ENUM_STATES 255


You will break any existing CA client and server that uses ENUMs


?



Dirk



Perhaps Bob Dalesio can make a few comments about how we plan to address this and other known problems created by db_access.h. For example strings are limited to 40 characters. We hope to start addressing these issues in the near future.



Replies:
RE: only 16 enum states? Jeff Hill
References:
only 16 enum states? Dirk Zimoch

Navigate by Date:
Prev: only 16 enum states? Dirk Zimoch
Next: RE: only 16 enum states? Dalesio, Leo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: only 16 enum states? Dirk Zimoch
Next: RE: only 16 enum states? Jeff Hill
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  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 ·