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 R7-0 Record Reference Documentation says this:
The *PINI* field specifies record processing at initialization. If it is set to YES during database configuration, the record is processed once at IOC initialization (before the normal scan tasks are started).
The *PHAS* field orders the records within a specific SCAN group. This is not meaningful for passive records. All records of a specified phase are processed before those with higher phase number. It is generally better practice to use linked passive records to enforce the order of processing rather than a phase number.
That seems to imply that PHAS does not apply with processing due to PINI=YES for SCAN=Passive records.
If this is not true then I suggest the documentation should be changed.
I was going to suggest the same, but realize that I have lost track of
where the appdev guide source lives. (I personally never refer to it)
- Replies:
- RE: PHAS and PINI Mark Rivers via Tech-talk
- Re: PHAS and PINI Johnson, Andrew N. via Tech-talk
- References:
- PHAS and PINI Mark Rivers via Tech-talk
- Navigate by Date:
- Prev:
Re: IOC using Sequencer Module Attempting to use libCom.so.3.18.1 Michael Davidsaver via Tech-talk
- Next:
RE: PHAS and PINI Mark Rivers 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:
PHAS and PINI Mark Rivers via Tech-talk
- Next:
RE: PHAS and PINI Mark Rivers 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
|