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  <20102011  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to shutdown/restart a soft-ioc from a (watchdog) record
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Wed, 17 Nov 2010 11:30:19 -0500
Hi Burkhard,

On Wednesday 17 November 2010 05:03:06 Burkhard Kolb wrote:
> How do I properly exit a soft-ioc when a record detects some malfunction?
> I tried epicsExit(), but that does not work from the subRecord which I
> trigger form a calcout record.

What does the epicsExit() call do when you use it?  That is how you're meant 
to shut down the IOC, but there may be drivers running which haven't properly 
registered an epicsAtExit() routine to stop their background threads, which 
can result in the process not stopping properly.  What extra code are you 
including in the IOC?

- Andrew
-- 
If a man is offered a fact which goes against his instincts, he will
scrutinize it closely, and unless the evidence is overwhelming, he will
refuse to believe it.  If, on the other hand, he is offered something
which affords a reason for acting in accordance to his instincts, he
will accept it even on the slightest evidence.  -- Bertrand Russell


Replies:
Re: How to shutdown/restart a soft-ioc from a (watchdog) record Burkhard Kolb
References:
How to shutdown/restart a soft-ioc from a (watchdog) record Burkhard Kolb

Navigate by Date:
Prev: Re: MCA (Matlab Channel Access) new version Eric Norum
Next: SF Re: MCA (Matlab Channel Access) new version Kasemir, Kay
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: How to shutdown/restart a soft-ioc from a (watchdog) record Burkhard Kolb
Next: Re: How to shutdown/restart a soft-ioc from a (watchdog) record Burkhard Kolb
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·