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
<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:
smoothing for AI Soft Records Brian McAllister
- Next:
Re: smoothing for AI Soft Records Bernd Schoeneburg
- 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
|