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  <20192020  2021  2022  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] ai records with data covering many decades
From: "Jemian, Pete R. via Tech-talk" <[email protected]>
To: "Kasemir, Kay via Tech-talk" <[email protected]>, Bo Jakobsen <[email protected]>
Date: Mon, 18 Nov 2019 17:08:22 +0000
To archive a signal that ranges over many decades, separate the mantissa and exponent into two separate values, each to be logged.

----------------------------------------------------------
  Pete R. Jemian, Ph.D.                <[email protected]>
  Beam line Controls and Data Acquisition
  Advanced Photon Source,   Argonne National Laboratory
  Argonne, IL  60439                   630 - 252 - 3189
-----------------------------------------------------------
     Education is the one thing for which people
        are willing to pay yet not receive.
-----------------------------------------------------------


________________________________________
From: Tech-talk <[email protected]> on behalf of Kasemir, Kay via Tech-talk <[email protected]>
Sent: Monday, November 18, 2019 8:51 AM
To: EPICS tech-talk; Bo Jakobsen
Subject: Re: [EXTERNAL] ai records with data covering many decades

Hi:

> ..PV for a pressure gauge which by nature covers many decades of values.
> I wanted to set up MEDM and ADEL values before starting to log the values to our archiver.
> Output is in exponential format, and i would like to monitor on e.g. 1 decimal independent of the exponent, it this possible.

I'm not aware of a good solution for efficiently displaying or archiving log-scale-type-PVs via MDEL respectively ADEL.
As you say, end users would like to see updates based on for example changes of "0.1", no matter if that's "0.1E-3" or "0.1E-5" on a log scale plot of vacuum pressure readings.
Sometimes the MDEL/ADEL is set to say "0.1E-5" because the reading happened to be in the E-5 range at the time, and then the vacuum improves to the E-6 range and MDEL/ADEL suppresses all updates.
So the only practical solution for archiving is to set ADEL=0, and store the value every few seconds to limit the amount of data. That's OK for the longer-term histor, but with vacuum readings you tend to care about some detail in vacuum excursions which start as a sharp spike, followed by exponential decay. With just a value every few seconds, you miss the initial spike detail.

Thanks,
Kay

Replies:
Re: [EXTERNAL] ai records with data covering many decades Maren Purves via Tech-talk
References:
ai records with data covering many decades Bo Jakobsen via Tech-talk
Re: [EXTERNAL] ai records with data covering many decades Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: ../../bin/linux-x86_64/testIOC: bad interpreter: No such file or directory Johnson, Andrew N. via Tech-talk
Next: Re: string conversion to uppercase or lowercase Lang, Keenan C. 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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: [EXTERNAL] ai records with data covering many decades Kasemir, Kay via Tech-talk
Next: Re: [EXTERNAL] ai records with data covering many decades Maren Purves 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  <20192020  2021  2022  2023  2024 
ANJ, 18 Nov 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·