areaDetector / ADCore

The home of the core components of the EPICS areaDetector software. It includes base classes for drivers and code for all of the standard plugins.
https://areadetector.github.io/master/index.html
Other
20 stars 65 forks source link

Stopping streaming on file plugins discards all arrays in queue #469

Open MarkRivers opened 3 years ago

MarkRivers commented 3 years ago

If a file plugin is in streaming mode then when streaming is stopped (setting Capture=0) any NDArrays currently in the queue will be discarded. I don't believe this is the desired behavior.

Example:

I think setting Capture=0 should not immediately close the file, it should first empty the queue and then close the file.