EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: subArray processing (when comments and code disagree)
From: "Lawrence T. Hoff" <[email protected]>
To: <[email protected]>
Date: Wed, 17 Aug 2005 09:21:01 -0400
	This probably has no real practical consequence, but.....
I noticed a (minor) discrepancy between the EPICS Record Reference
Manual description of subArray record processing, and the code
which implements the algorithm. I have a suspicion about which is
correct, but maybe someone who has complete confidence can bring
these two into agreement:

Record Reference Manual:
> Sanity check INDX. If INDX is greater than MALM it is set to MALM-1.

subArrayRecord.c:
>         if (psa->indx >= psa->malm)
>         {
>            psa->indx = psa->malm - 1;
>         }

	Note that one says ">", and the other says ">="...

-- Larry


Replies:
Re: subArray processing (when comments and code disagree) Ralph Lange
Re: subArray processing (when comments and code disagree) Carl Lionberger

Navigate by Date:
Prev: Re: DM2K on MacOSX(10.3) Noboru Yamamoto
Next: Re: subArray processing (when comments and code disagree) Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Compiling Channel Archiver version 2 Robert Henning
Next: Re: subArray processing (when comments and code disagree) Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·