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

Subject: Re: mbbi record ignores mask?
From: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: "Rivers, Mark L." <rivers at cars.uchicago.edu>
Cc: Eric Norum <ericnorum at gmail.com>, EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Tue, 15 Sep 2020 16:02:39 +0000
As Mark says, the MASK field is set by the record but really belongs to the device support. Some supports may want to shift it (by some signal offset related to the I/O address) but others won’t, so it’s up to the device support to modify and use it if it applies. Could be better documented, I’d be very happy to accept a patch to the mbbiRecord.dbd.pod file from the 3.15 branch if someone wants to contribute anything.

- Andrew


On Sep 15, 2020, at 10:47 AM, Mark Rivers <rivers at cars.uchicago.edu> wrote:

Ø  The mbbi record in the couple of versions of base that Ive checked (3.15.5 and 3.15.7) don’t seem to use the MASK field.
 
I believe that is the responsibility of the device support.  asyn device support handles the mask.
 
Mark
 
 
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Eric Norum via Tech-talk
Sent: Tuesday, September 15, 2020 10:45 AM
To: Johnson, Andrew N. <anj at anl.gov>; tech-talk at aps.anl.gov
Subject: mbbi record ignores mask?
 
This is one of those things that seems impossible to have been wrong for so long that it makes me wonder if I’m misinterpreting what I’m reading.
The mbbi record in the couple of versions of base that Ive checked (3.15.5 and 3.15.7) don’t seem to use the MASK field.
 
wenorum@xildev5 223> pwd
/eda/epics/R3.15.7/base/src/std/rec
wenorum@xildev5 224> grep -n mask mbbiRecord.c
140:    if (prec->mask == 0 && prec->nobt <= 32)
141:        prec->mask = ((epicsUInt64) 1u << prec->nobt) - 1;
wenorum@xildev5 225> 


— 
Eric Norum

-- 
Complexity comes for free, simplicity you have to work for.


References:
mbbi record ignores mask? Eric Norum via Tech-talk
RE: mbbi record ignores mask? Mark Rivers via Tech-talk

Navigate by Date:
Prev: RE: mbbi record ignores mask? Mark Rivers via Tech-talk
Next: Re: Problem with installing epics base on Jetson nano Johnson, Andrew N. via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: mbbi record ignores mask? Eric Norum via Tech-talk
Next: Epics bandwidth fandayu--- via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 16 Sep 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·