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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Alignment mode for AreaDetectors? |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | "Miceli, Antonino" <amiceli at anl.gov> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Thu, 12 May 2022 17:12:29 +0000 |
Hi Nino, Ø
The Pilatus detector had a popular mode called alignment which came with the detector SDK; essentially this mode would overwrite to the same file and continue until the stop button was pressed. That mode is not part of the SDK, it was something I created in the ADPilatus driver. All it does is to set NumImages=1 and to tell camserver to keep writing to the same file called “alignment.tif”. It reads back the data from alignment.tif
and does callbacks to all registered plugins, just as for regular data collection mode. Ø
Is there a clean/easy way to emulate this for other areadetectors? (I know I can disable all the file writing plugins.) There is no need to disable the file writing plugins, although you would probably want to disable AutoSave in each file plugin if that is enabled. But that is no different than the ADPilatus in alignment mode: if AutoSave is enabled for
a file plugin when using the ADPilatus driver then files will be written even in alignment mode. Perhaps I am not understanding the question. What is it that works for you with the ADPilatus in alignment mode that does not work with other detectors, and which detector in particular are you asking about? As Mark E. said if you are
using a driver that always writes files then you can just disable auto-increment to avoid creating many files. Mark From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Miceli, Antonino via Tech-talk Hi, The Pilatus detector had a popular mode called alignment which came with the detector SDK; essentially this mode would overwrite to the same file and continue until the stop button
was pressed. Is there a clean/easy way to emulate this for other areadetectors? (I know I can disable all the file writing plugins.) Thanks, Nino |