It was the documentation that needed to be fixed. My first wiki act has
just been to change this.
Carl
Lawrence T. Hoff wrote:
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
--
Carl Lionberger
Control System Software Engineer
Berkeley National Laboratory (LBNL)
(510)486 7503
- References:
- subArray processing (when comments and code disagree) Lawrence T. Hoff
- Navigate by Date:
- Prev:
Re: SNCSEQ... Emmanuel Mayssat
- Next:
Controls Group positions at SNS Gurd, David P.
- 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
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: subArray processing (when comments and code disagree) Ralph Lange
- Next:
MVME 6100 Erik Johansson
- 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
2020
2021
2022
2023
2024
|