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
Sent: Thursday, May 12, 2022 11:31 AM
To: tech-talk at aps.anl.gov >> EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: Alignment mode for AreaDetectors?
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.)