Experimental Physics and Industrial Control System
|
On 7/18/23 11:29 AM, Michael Davidsaver via Tech-talk wrote:
On 7/18/23 08:57, Mark Rivers via Tech-talk wrote:
Folks,
Does PHAS control the order in which records with PINI=YES are processing during iocInit, even is SCAN=Passive?
Yes.
https://github.com/epics-base/epics-base/blob/42604fc794b6f26b60db953a230b52c1118d3039/modules/database/src/ioc/misc/iocInit.c#L593-L594
The Release Notes for R3.14.11 (when that was added) said:
PINI Processing and PHAS values
The PINI field now has its own menu type with four more choices, RUN, RUNNING, PAUSE and PAUSED. The earlier NO and YES values
for this field remain as before and cause the same processing as before. The new values cause records to be processed during the announcement of the new initHookAtIocRun, initHookAfterIocRunning, initHookAtIocPause and initHookAfterIocPaused states
respectively.
Records with PINI=YES will be processed during the iocBuild stage of iocInit, follwed by records with PINI=RUN during the iocRun stage
and records with PINI=RUNNING during the initHookAfterIocRunning stage. If an iocPause command is given, any records with PINI=PAUSE will
be processed at the initHookAtIocPause stage followed by records with PINI=PAUSED will be processed at the initHookAfterIocPaused stage. A subsequent iocRun command
causes the PINI=RUN and PINI=RUNNING records to be processed again.
The PHAS field now controls the order in which records are processed as a result of the PINI mechanism; within each stage, lower values of PHAS are scanned before higher ones.
I agree that the
dbCommonRecord.html wording could be fixed (in dbCommon.dbd.pod), that page doesn't mention the choices for PINI other than YES either but if you follow the link in the table below to the
menuPini.html file that describes them, and there it also mentions that PHAS is honored during PINI processing.
@Timo — a task for the Documentathon?
- Andrew
--
Complexity is free, it's Simplicity that takes work.
|
- Replies:
- Re: PHAS and PINI Timo Korhonen via Tech-talk
- References:
- PHAS and PINI Mark Rivers via Tech-talk
- Re: PHAS and PINI Michael Davidsaver via Tech-talk
- Navigate by Date:
- Prev:
RE: IOC using Sequencer Module Attempting to use libCom.so.3.18.1 Srinivas, Dhruv via Tech-talk
- Next:
Re: IOC using Sequencer Module Attempting to use libCom.so.3.18.1 Johnson, Andrew N. 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: PHAS and PINI Michael Davidsaver via Tech-talk
- Next:
Re: PHAS and PINI Timo Korhonen 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, 19 Jul 2023 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|