areaDetector / ADPilatus

An EPICS areaDetector driver for the Pilatus pixel array detectors from Dectris.
https://areadetector.github.io/areaDetector/ADPilatus/pilatusDoc.html
3 stars 8 forks source link

Move array counter increment to before set of NDArray UniqueID #14

Closed GDYendell closed 4 years ago

GDYendell commented 4 years ago

This fixes a problem we had at DLS where the UniqueID on the first NDArray of an acquisition was the last of the previous acquisition, which did not play nicely with the Pos plugin.

It looks like this was broken in 138558e2929dcc6a73b59403ec664a2d09c1c998 to fix a problem where NDArrayCounter was incremented when an image was not successfully processed. This should behave correctly for both cases now.