EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: smoothing for AI Soft Records
From: Bernd Schoeneburg <[email protected]>
To: [email protected]
Date: Fri, 16 Mar 2001 16:54:09 +0100
Brian McAllister wrote:

> As currently implemented, the AI record does the smoothing calculation in
> the convert() function.  This has the side effect that smoothing is applied
> only for Raw Soft Records, while it is bypassed for Soft Records (no
> conversion).
>
> As smoothing is in fact applied to VAL after the conversion, it would be
> easy (and appropriate IMO) to extract the smoothing calculation from
> convert() and move it to process().
>
> Comments ?
>
> ----
> Brian McAllister                    Controls Programmer/Beam Physicist
> [email protected]                        MIT-Bates Linear Accelerator
> (617) 253-9537                                           Middleton, MA

Hi Brian,
yes it sounds reasonable. This problem appears also if a device support
delivers float directly. I propose to put the smoothing before  " /* check for
alarms */ "  like " if (status==0) { .....smoothing..... } ".

Bernd




References:
smoothing for AI Soft Records Brian McAllister

Navigate by Date:
Prev: smoothing for AI Soft Records Brian McAllister
Next: Re: smoothing for AI Soft Records Bernd Schoeneburg
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  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: smoothing for AI Soft Records Brian McAllister
Next: Re: smoothing for AI Soft Records Bernd Schoeneburg
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
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 ·