Experimental Physics and Industrial Control System
|
If the order of writing to the hardware does not matter then you can set PINI=1 for each record.
Sent from my iPhone
On Jul 9, 2023, at 9:01 AM, 吴煊 via Tech-talk <tech-talk at aps.anl.gov> wrote:
Thanks for your advice.However, it's not very convenient for there are tens of pvs needed to be written by the method of adding fanout or seq records.
Cheers,
Xuan
-----原始邮件-----
发件人:"Ralph Lange" <ralph.lange at gmx.de>
发送时间:2023-07-07 17:18:02 (星期五)
收件人: "EPICS Tech Talk" <tech-talk at aps.anl.gov>
抄送: "吴煊" <wux at ihep.ac.cn>
主题: Re: Record process when restore using autosave
I need the records process in order to write the restored value to hardware when reboot the IOC using autosave module. It said "Restoring at run time can produce a different result than restoring at boot time, because record processing may occur." in the
manual. But how? Any suggestion or advice would be great apprecaited
When you're doing an autosave restore procedure as part of the IOC boot, the restore will not process records. It will just be as if the restored values were in your database files.
When you do the restore while the IOC is up, restoring a value to a record will in most cases process the record immediately.
For your case, you need to add the processing-after-reboot as part of your database. A single fanout or seq record with PINI=YES setting will be processed at reboot. From that record you can link to all the records that need to be processed. By doing this,
you have full control over the order of processing and the single initial PINI=YES record makes sure the processing chain happens exactly once, when the IOC is coming up.
Cheers,
~Ralph
|
- Replies:
- Re: Record process when restore using autosave Ralph Lange via Tech-talk
- 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
- Navigate by Date:
- Prev:
Re: Re: Record process when restore using autosave 吴煊 via Tech-talk
- Next:
Re: Record process when restore using autosave Ralph Lange 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
<2023>
2024
- Navigate by Thread:
- Prev:
Re: Re: Record process when restore using autosave 吴煊 via Tech-talk
- Next:
Re: Record process when restore using autosave Ralph Lange 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
<2023>
2024
|
ANJ, 09 Jul 2023 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|