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  2021  <20222023  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  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to archive PVs regularly even if they are not updating
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Cc: 董雪薇 <dongxuewei at ihep.ac.cn>
Date: Mon, 26 Sep 2022 12:27:16 +0200
Dear Xuewei,

On Mon, 26 Sept 2022 at 11:00, 董雪薇 via Tech-talk <tech-talk at aps.anl.gov> wrote:

Some PVs maybe update frequently for a while, but after that they will stop updating. So when I retreive them, maybe I will find the PVs haven't updated for several months, and I have to go back to long long ago to find their values.

Is there any configuration I can do to keep Archiver Appliance regularly archive these PVs even if they are not updating? Like, archiving the last updated value of PV at a regular frequency.


Looking at the docs, I would say the samplingMethod and the samplingPeriod properties (configured through the policy) should allow you to define how the engine gets a value.
https://slacmshankar.github.io/epicsarchiver_docs/api/org/epics/archiverappliance/mgmt/policy/ExecutePolicy.html

Additionally, the retrieval side should provide useful data for slowly updating PVs. If you ask the archive for a time span, the initial value for any PV should be the value of the last update before the start of the specified time span. Depending on the implementation, this may return time stamps that are outside of the asked-for interval, which is something that clients need to be prepared for. Needs to be specified properly.

Cheers,
~Ralph

References:
How to archive PVs regularly even if they are not updating 董雪薇 via Tech-talk

Navigate by Date:
Prev: How to archive PVs regularly even if they are not updating 董雪薇 via Tech-talk
Next: Re: How to archive PVs regularly even if they are not updating Shankar, Murali 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  2021  <20222023  2024 
Navigate by Thread:
Prev: How to archive PVs regularly even if they are not updating 董雪薇 via Tech-talk
Next: Re: How to archive PVs regularly even if they are not updating Shankar, Murali 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  2021  <20222023  2024 
ANJ, 26 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·