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  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: Re: AreaDetector ADAndor: Scan hangs because Acquire="Collecting" when acquisition finished (DetectorState_RBV='idle')
From: Mark Rivers via Tech-talk <tech-talk@aps.anl.gov>
To: David Vine <dvine@sigray.com>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Wed, 10 Jul 2019 17:08:40 +0000
Hi David,

That is a known problem, that is fixed in R3-4 of ADCore. This is from RELEASE.md for  R3-4:

***************
Fixed a serious problem caused by failure to lock the correct mutex when plugins called incrementQueuedArrayCount() and decrementQueuedArrayCount(). This caused the Acquire and Acquire_RBV PVs to occasionally get stuck in the 1 (Acquire) state when acquistion was complete. It might have also caused other problems that were not reported. This problem was introduced in R3-3.
***************

I might suggest going to R3-5 or R3-6 which allow you to optionally wait for plugins to complete before the detector says it is done.

Mark


Sent from my iPhone

On Jul 10, 2019, at 11:23 AM, David Vine via Tech-talk <tech-talk@aps.anl.gov<mailto:tech-talk@aps.anl.gov>> wrote:

Hi all,

very infrequently my scan hangs because ADAndor acquire state stays "collecting" after the acquisition completed successfully and detector state returns to "idle" and detector status is "IDLE, waiting on instruction". Screen shot of the medm screen below.

The IOC output doesn't have any message indicating there is a problem.

If i click "stop" the Acquire state goes to "Done" however the scan does not continue. If i click "start" the detector responds normally, acquires one image and everything looks good. At the conclusion of the image that I started manually the scan will continue.

I don't know how to reproduce this on demand. It's happening once every few thousands of images. Any tips on how to troubleshoot it next time it happens would be greatly appreciated.

ADCore: 3.3.1
Driver: 2.8.0
SDK: 2.102

Thanks,
David

--

Best regards,
David Vine
(925) 326 7503
dvine@sigray.com<mailto:dvine@sigray.com>

[cid:image001.png@01D3D7CF.E8C2F7D0]
5750 Imhoff Drive, Suite I  |  Concord, CA 94520  |  USA<https://maps.google.com/?q=5750+Imhoff+Drive,+Suite+I%C2%A0+%7C%C2%A0+Concord,+CA+94520%C2%A0+%7C%C2%A0+USA&entry=gmail&source=g>

http://www.Sigray.com<http://www.sigray.com/>



This e-mail and any attachments are provided for the sole use of the intended recipient(s), and may contain information that is confidential, privileged, proprietary or otherwise protected by law. If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy, forward or otherwise disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and delete the original message from your mail system. Thank you.

<Screenshot from 2019-07-10 08-32-17.png>

References:
AreaDetector ADAndor: Scan hangs because Acquire="Collecting" when acquisition finished (DetectorState_RBV='idle') David Vine via Tech-talk

Navigate by Date:
Prev: AreaDetector ADAndor: Scan hangs because Acquire="Collecting" when acquisition finished (DetectorState_RBV='idle') David Vine via Tech-talk
Next: Re: AreaDetector ADAndor: Scan hangs because Acquire="Collecting" when acquisition finished (DetectorState_RBV='idle') 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  <20192020 
Navigate by Thread:
Prev: AreaDetector ADAndor: Scan hangs because Acquire="Collecting" when acquisition finished (DetectorState_RBV='idle') David Vine via Tech-talk
Next: Re: AreaDetector ADAndor: Scan hangs because Acquire="Collecting" when acquisition finished (DetectorState_RBV='idle') 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  <20192020 
ANJ, 10 Jul 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·