Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: analog conversions
From: Andrew Johnson <anj@aps.anl.gov>
To: Rolf Keitel <rolf@triumf.ca>
Cc: tech_talk <tech-talk@aps.anl.gov>
Date: Fri, 06 Aug 1999 18:25:19 -0500
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  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: analog conversions Rolf Keitel
Next: DM Font Clipping Kenneth Kang
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·