EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: More than 16 enumerations mbbi / mbbo
From: Benjamin Franksen <[email protected]>
To: <[email protected]>
Date: Thu, 26 Jul 2012 14:04:59 +0200
On Thursday, July 26, 2012, Hinko Kocevar wrote:
> While developing writing Asyn device driver support for our products
> running on Linux OS, we were faced with the need to support more than 16
> enumeration values that are to be represented using mbbi / mbbo records.
> 
> I'm looking for solutions to this problem. We are trying to stay within
> EPICS base provided record types as much as possible, but we have no
> problems to include additional EPICS extensions to out soft IOC in order
> to gain record support. Last resort would be to provide a new record
> type.

Writing a new record type with, say, 32 choices based on the existing 16-
choices versions wouldn't be hard. The problem is that the result won't be 
very useful because CA (Channel Access) limits the number of choices for 
type DBR_XXX_ENUM to 16 which is hard coded in the protocol (see 
db_access.h). So, for instance, a menu button in an operator panel would not 
see all 32 choices but only the first 16; and so on.

A possible work-around would be to somehow split the choices into smaller 
(related) groups, then provide a 'master' mbbi/o for the choice of the 
group, and separate mbbi/o for chosing inside the groups.

Cheers
Ben

Attachment: signature.asc
Description: This is a digitally signed message part.


Replies:
Re: More than 16 enumerations mbbi / mbbo Hinko Kocevar
References:
More than 16 enumerations mbbi / mbbo Hinko Kocevar

Navigate by Date:
Prev: More than 16 enumerations mbbi / mbbo Hinko Kocevar
Next: Re: More than 16 enumerations mbbi / mbbo Hinko Kocevar
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: More than 16 enumerations mbbi / mbbo Hinko Kocevar
Next: Re: More than 16 enumerations mbbi / mbbo Hinko Kocevar
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·