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  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CA output links not working with PINI=YES?
From: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: "Rivers, Mark L." <rivers at cars.uchicago.edu>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Thu, 5 Mar 2020 18:17:20 +0000
On Mar 5, 2020, at 12:03 PM, Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> wrote:

This is menuPini.dbd


menu(menuPini) {
       choice(menuPiniNO,"NO")
       choice(menuPiniYES,"YES")
       choice(menuPiniRUN,"RUN")
       choice(menuPiniRUNNING,"RUNNING")
       choice(menuPiniPAUSE,"PAUSE")
       choice(menuPiniPAUSED,"PAUSED")
}

Where is this documented?

It was described in the Release Notes for 3.14.11 when the code changed. Unfortunately the changes made in the 3.14 series were removed from that document when 3.16 came out (IIRC). The old notes say:

PINI Processing and PHAS values

The PINI field now has its own menu type with four more choices, RUNRUNNINGPAUSE 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 initHookAtIocRuninitHookAfterIocRunninginitHookAtIocPause 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.

Unfortunately (as with many newer features in Base) this text hasn’t been added to any other documentation yet. People keep finding bugs and asking for new features so the core developers don’t have as much time as we’d like to maintain the documentation as well as we’d like.

- Andrew


-- 
Complexity comes for free, Simplicity you have to work for.


References:
CA output links not working with PINI=YES? Christoph Schroeder via Tech-talk
Re: CA output links not working with PINI=YES? J. Lewis Muir via Tech-talk
Re: CA output links not working with PINI=YES? Christoph Schroeder via Tech-talk
Re: CA output links not working with PINI=YES? J. Lewis Muir via Tech-talk
Re: CA output links not working with PINI=YES? Ralph Lange via Tech-talk
Re: CA output links not working with PINI=YES? Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: CA output links not working with PINI=YES? Benjamin Franksen via Tech-talk
Next: write to a single element of an array field Benjamin Franksen 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: CA output links not working with PINI=YES? Mark Rivers via Tech-talk
Next: Re: CA output links not working with PINI=YES? Benjamin Franksen 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  <20202021  2022  2023  2024 
ANJ, 05 Mar 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·