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 [SEC=UNOFFICIAL]
From: "STARRITT, Andrew via Tech-talk" <[email protected]>
To: "EPICS Tech Talk ([email protected])" <[email protected]>
Date: Tue, 19 Nov 2019 00:29:56 +0000
We used to archive the log value,  but now I use a calcout record to dynamically calculate the ADEL value.
Specifically I set the ADEL value to 1% of the just measured pressure value.

Cheers
Andrew Starritt

-----Original Message-----
From: Tech-talk <[email protected]> On Behalf Of Maren Purves via Tech-talk
Sent: Tuesday, 19 November 2019 7:22 AM
To: Jemian, Pete R. <[email protected]>; Kasemir, Kay via Tech-talk <[email protected]>; Bo Jakobsen <[email protected]>
Subject: Re: [EXTERNAL] ai records with data covering many decades

We put in an extra record to calculate the logarithm and archive that 
(same application: vacuum).

Maren Purves
East Asian Observatory/JCMT

On 2019-11-18 07:08, Jemian, Pete R. via Tech-talk wrote:
> 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
> 


Navigate by Date:
Prev: RE: Uploading a file with SFTP from an EPICS driver Mark Rivers via Tech-talk
Next: Re: EPICS Codeathon 2020 Gabriel Fedel 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: areaDetector-R3-4, Stats Plugin - Histogram Mark Rivers via Tech-talk
Next: EPICS server won't boot when there is no newline at the ending of st.cmd 黄佳伟 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, 19 Nov 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·