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

Subject: Can you stop script execution with adPython for AreaDetector?
From: Isabella Rey <[email protected]>
To: [email protected]
Date: Thu, 19 Feb 2015 16:57:40 +0000
Hello Guys,

I'm using the adPython 0.2 plugin for AreaDetector R1.9 on Ubuntu 12.4.

Is there any way to stop the Python script while it's running?

My script runs some analysis on the input image, and this can take a short or long time depending on the input parameters. If a user wants to change a parameter while the analysis is running, ideally I want to stop the script and start again on a new frame with the updated parameter. But the Template class can't update the params dictionary until it has finished with the current analysis, and I have no way of killing the script thread.

Any thoughts on this?

Thanks!
Isabella

Replies:
RE: Can you stop script execution with adPython for AreaDetector? tom.cobb

Navigate by Date:
Prev: Re: Looking for Allen Bradley PLC5 Ethernet support Mike Westfall
Next: FW: Looking for Allen Bradley PLC5 Ethernet support Stevens, James
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Looking for Allen Bradley PLC5 Ethernet support David Morris
Next: RE: Can you stop script execution with adPython for AreaDetector? tom.cobb
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·