Hi Michael,
> 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)
The documentation I quoted is:
https://epics.anl.gov/base/R7-0/6-docs/dbCommonRecord.html
for which I believe the source is:
https://github.com/epics-base/epics-base/blob/7.0/modules/database/src/ioc/db/dbCommon.dbd.pod
Thanks,
Mark
-----Original Message-----
From: Michael Davidsaver <mdavidsaver at gmail.com>
Sent: Tuesday, July 18, 2023 11:29 AM
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk at aps.anl.gov
Subject: Re: PHAS and PINI
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 Michael Davidsaver 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: PHAS and PINI Michael Davidsaver via Tech-talk
- Next:
RE: IOC using Sequencer Module Attempting to use libCom.so.3.18.1 Srinivas, Dhruv 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
2025
- Navigate by Thread:
- Prev:
Re: PHAS and PINI Michael Davidsaver via Tech-talk
- Next:
Re: PHAS and PINI Michael Davidsaver 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
2025
|