EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20212022  2023  2024  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: NDPluginProcess Background subtraction UInt wrap around
From: Hugo Slepicka via Tech-talk <tech-talk at aps.anl.gov>
To: Laurenz Rettig <rettig at fhi-berlin.mpg.de>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 16 Mar 2021 15:26:19 -0700
Hi Laurenz,

Maybe you could try enabling the Low/High Clipping.
image.png
I am not 100% sure if it will work but at least it is something to try.

Cheers,
Hugo

On Tue, Mar 16, 2021 at 3:19 PM Laurenz Rettig via Tech-talk <tech-talk at aps.anl.gov> wrote:
Hi,

I'm having some trouble with the background subtraction in the
NDPluginProcess and UInt16 data type. Whenever the values would turn
negative due to the background subtraction, the UInt16 wraps around and
produces values close to 65536. What is the best way to avoid this this?

Thanks, Laurenz

--
Dr. Laurenz Rettig
Fritz Haber Institute of the Max Planck Society
Department of Physical Chemistry
Dynamics of Correlated Materials
Faradayweg 4-6
14195 Berlin, Germany

phone: +49-(0)30-8413 5225
email: rettig at fhi-berlin.mpg.de



References:
NDPluginProcess Background subtraction UInt wrap around Laurenz Rettig via Tech-talk

Navigate by Date:
Prev: NDPluginProcess Background subtraction UInt wrap around Laurenz Rettig via Tech-talk
Next: RE: NDPluginProcess Background subtraction UInt wrap around Mark Rivers via Tech-talk
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  <20212022  2023  2024 
Navigate by Thread:
Prev: NDPluginProcess Background subtraction UInt wrap around Laurenz Rettig via Tech-talk
Next: RE: NDPluginProcess Background subtraction UInt wrap around Mark Rivers via Tech-talk
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  <20212022  2023  2024 
ANJ, 16 Mar 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·