A call to stopAcq() breaks saving tasks if there are remaining frames to save
This happens in the following conditions:
- Multiple frames per file
- OverwritePolicy is SaveOverwriteError
- Frame rate >>> saving rate
Calling stopAcq()
after all the frames where actually acquired (e.g. polling LastImageAcquired
) closes all the streams used by CtSaving
(with a call to SaveContainer::close()
).
SaveContainer::open()
will then fail to reopen the file because the file already exists.