Rolf Keitel wrote:
>
> At record initialization, record support correctly copies prec->egul to
> prec->eoff. IMHO device support should repeat this in the
> special_linconv routine. None of the device support modules which we
> used as model for our own developments did this.
This is a bug in the aiRecord's special routine not in the device support,
and has been fixed in R3.13.1.1. A patch for the fix is attached below.
- Andrew
--
I brake for tail-gaters
Index: aiRecord.c
===================================================================
RCS file: /net/phoebus/epicsmgr/cvsroot/epics/base/src/rec/aiRecord.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -c -r1.6 -r1.7
*** aiRecord.c 1998/01/21 15:36:47 1.6
--- aiRecord.c 1999/01/06 19:14:20 1.7
***************
*** 237,242 ****
--- 237,243 ----
return(S_db_noMod);
}
pai->init=TRUE;
+ pai->eoff = pai->egul;
if(!(pdset->special_linconv)) return(0);
return((*pdset->special_linconv)(pai,after));
default:
- References:
- analog conversions Rolf Keitel
- Navigate by Date:
- Prev:
analog conversions Rolf Keitel
- Next:
DM Font Clipping Kenneth Kang
- 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:
analog conversions Rolf Keitel
- Next:
DM Font Clipping Kenneth Kang
- 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
|