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  2020  2021  <20222023  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  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Way to know when streamReload has been completed
From: "Wang, Andrew via Tech-talk" <tech-talk at aps.anl.gov>
To: "Zimoch Dirk (PSI)" <dirk.zimoch at psi.ch>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Sat, 6 Aug 2022 07:20:54 +0000
Hi Dirk,

Sounds great. Thank you so much. I'll take a look into the busyRecord.

Andy

From: Zimoch Dirk (PSI) <dirk.zimoch at psi.ch>
Sent: Wednesday, August 3, 2022 10:02 AM
To: Wang, Andrew <wang126 at llnl.gov>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Subject: Way to know when streamReload has been completed
 
Hi Andy,

When the function returns it has finished its work, i.e. all currently running protocols have beeb aborted and all records have re-read their protocol files. At that time, the sub record finishes processing. Thus, you can write using a caput with callback. When it returns, all work is done.
If you (i.e. the CA client you are using) have no callback option, then you can FLNK some records together to set some record to 1, then call streamReload and from there FLNK to a record that writes 0.
Maybe you can use the busyRecord somehow, but I have never tried that.

Dirk

Am 02.08.2022 um 19:08 schrieb Wang, Andrew via Tech-talk <tech-talk at aps.anl.gov>:


Hi all,

I've been using streamReload in both the IOC shell and inside an aSub function.  I have noticed that as streamReload executes, it causes a message to appear in the IOC Shell listing which records have just been reloaded. When the messages stop, I assume that is when streamReload has completed. I was wondering if there was a way to know when it has completed through a function of some sort that returns a value corresponding to the state of streamReload. The reason I ask is because if the operator does proceed with using streamReload on the Control Systems GUI, I would like there to be an indicator that shows grey when streamReload is executing and green when it has completed.

Thank you,
Andy

References:
Way to know when streamReload has been completed Zimoch Dirk (PSI) via Tech-talk

Navigate by Date:
Prev: Question about "indirect processing" mentioned in documentation for the SSEQ Wang, Andrew via Tech-talk
Next: StreamDevice record locking and processing question Wang, Andrew 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  <20222023  2024 
Navigate by Thread:
Prev: Way to know when streamReload has been completed Zimoch Dirk (PSI) via Tech-talk
Next: ADSimDetector-R2-10 build errors with base-7.0.6.1 Miceli, Antonino 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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·