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

Subject: Re: iocStats Restart IOC PV does not work
From: Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Thu, 4 Apr 2024 15:37:56 +0200
On Thu, 4 Apr 2024 at 11:36, Abdalla Ahmad via Tech-talk <tech-talk at aps.anl.gov> wrote:

Although the issue does not appear on an IOC on the same server, I found out that the IOC is using relatively older modules versions; asyn 4.38 and stream device 2.8.10. I will try updating them and re-build the IOC.


Stream and ASYN are unrelated.
Have you updated iocStats, as Andrew suggested? That's the module that implements the exit record.

BTW.
Nothing happens, seems like the IOC shell is waiting for the “exit” to happen so I have to use Ctrl-C to force quit the IOC.

I hope you are aware that in the iocShell, Ctrl-C is *not* the same as "exit".
While "exit" or Ctrl-D (or the exit record) trigger an orderly shutdown that runs all registered exit hook routines, Ctrl-C stops the IOC immediately without running the exit hooks.
Depending on your device drivers, there might be a noticeable difference between the two. Often, there is not.

Cheers,
~Ralph


References:
iocStats Restart IOC PV does not work Abdalla Ahmad via Tech-talk
Re: iocStats Restart IOC PV does not work Hu, Yong via Tech-talk
Re: iocStats Restart IOC PV does not work Johnson, Andrew N. via Tech-talk
RE: iocStats Restart IOC PV does not work Abdalla Ahmad via Tech-talk

Navigate by Date:
Prev: Re: get asyn hostInfo Douglas Araujo via Tech-talk
Next: Re: get asyn hostInfo 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: RE: iocStats Restart IOC PV does not work Abdalla Ahmad via Tech-talk
Next: RE: iocStats Restart IOC PV does not work Zhang, Tong 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, 05 Apr 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·