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  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: Re: Record process when restore using autosave
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: epics tech talk <tech-talk at aps.anl.gov>, 吴煊 <wux at ihep.ac.cn>
Date: Mon, 10 Jul 2023 13:03:59 +0000
Typically we do this:

set_pass0_restoreFile("auto_positions.sav")
set_pass0_restoreFile("auto_settings.sav")
set_pass1_restoreFile("auto_settings.sav")

The PVs we put in auto_positions.req are the .VAL and .OFF fields for motor records, which are only in pass 0.  All other PVs go into auto_settings.req, which are in both in pass0 and pass1.

Mark


From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of 吴煊 via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, July 10, 2023 12:47 AM
To: epics tech talk <tech-talk at aps.anl.gov>
Subject: Re: Re: Record process when restore using autosave
 

The order doesn't matter. Then I need to set both set_pass0_restoreFile and set_pass1_restoreFile or just need to set set_pass0_restoreFile?

Cheers,
Xuan
-----原始邮件-----
发件人:"Ralph Lange via Tech-talk" <tech-talk at aps.anl.gov>
发送时间:2023-07-09 22:34:46 (星期日)
收件人: "EPICS Tech Talk" <tech-talk at aps.anl.gov>
抄送:
主题: Re: Record process when restore using autosave

On Sun, 9 Jul 2023 at 16:09, Mark Rivers <rivers at cars.uchicago.edu> wrote:
If the order of writing to the hardware does not matter then you can set PINI=1 for each record.

If the order matters, you can use one event record with PINI=YES and EVENT scanning for the many records - their PHAS field settings will determine the order. 

References:
Record process when restore using autosave 吴煊 via Tech-talk
Re: Record process when restore using autosave Ralph Lange via Tech-talk
Re: Re: Record process when restore using autosave 吴煊 via Tech-talk
Re: Record process when restore using autosave Mark Rivers via Tech-talk
Re: Record process when restore using autosave Ralph Lange via Tech-talk
Re: Re: Record process when restore using autosave 吴煊 via Tech-talk

Navigate by Date:
Prev: Re: Re: Record process when restore using autosave 吴煊 via Tech-talk
Next: RE: [EXTERNAL] Re: Real-Time Spectral Analysis of streaming data in EPICS operator screens. Evans, Richard K. (GRC-H000) 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  2022  <20232024 
Navigate by Thread:
Prev: Re: Re: Record process when restore using autosave 吴煊 via Tech-talk
Next: interrupt read data in int32Driver example timesir 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  2022  <20232024 
ANJ, 10 Jul 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·