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  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 
<== Date ==> <== Thread ==>

Subject: Re: mbbi/mbbo Mask values
From: Ralph Lange <Ralph.Lange@gmx.de>
To: EPICS Tech Talk <tech-talk@aps.anl.gov>
Date: Fri, 01 Jun 2012 18:35:25 +0200
On 01.06.2012 18:02, Andrew Johnson wrote:
> Hi Bob,
>
> On 2012-06-01 Dalesio, Leo wrote:
>> The wiki page now clearly states in the introduction to the MBBI and MBBO
>>  that the bits must be continuous. 
> My point was that the record code doesn't need the bits to be contiguous; it 
> will still work properly as long as the result of (RVAL << SHFT) matches one 
> of the xxVL field values.  I have no intention of letting anyone change the 
> code to break that since there are too many device supports and IOCs out there 
> which could be relying on this.

What about allowing MASK to be set in the database, and only setting it
in the init_record() code, if it is 0.
That would not break existing code (or would it?), and provide an easy
way to set MASK directly (contiguous or not), avoiding NOBT and SHFT.

~Ralph


Replies:
Re: mbbi/mbbo Mask values Dudley, David
Re: mbbi/mbbo Mask values Andrew Johnson
References:
RE: mbbi/mbbo Mask values Dalesio, Leo
Re: mbbi/mbbo Mask values Andrew Johnson
RE: mbbi/mbbo Mask values Dalesio, Leo
Re: mbbi/mbbo Mask values Andrew Johnson

Navigate by Date:
Prev: Re: asynManager isConnected Eric Norum
Next: Re: Proposed change in asyn - request for comments Williams Jr., Ernest L.
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 
Navigate by Thread:
Prev: Re: mbbi/mbbo Mask values Andrew Johnson
Next: Re: mbbi/mbbo Mask values Dudley, David
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 
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 ·