From 8c609544bea6b77304208e201ae954872f1e7df6 Mon Sep 17 00:00:00 2001 From: "Timur A. Fatkhullin" Date: Mon, 9 Dec 2024 17:05:45 +0300 Subject: [PATCH] ... --- raptor_eagle_acqproc.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/raptor_eagle_acqproc.cpp b/raptor_eagle_acqproc.cpp index 4e30fa2..afafa71 100644 --- a/raptor_eagle_acqproc.cpp +++ b/raptor_eagle_acqproc.cpp @@ -45,6 +45,13 @@ void RaptorEagleCCD::AcquisitionProcess::start(const std::shared_ptrlogDebug("Capture is finished (thread id: {})!", st.str()); + if ((_acqParams->abortTime > _acqParams->startTime) && + !_acqParams->saveInAbort) { // abort acquisition was occured! hust exit + _manager->logInfo("It seems the acquisition was aborted! Do not save acquired image!"); + + return; + } + _manager->logDebug("Copy image from grabber to buffer (thread id: {}) ...", st.str()); size_t npix = _acqParams->roiWidth * _acqParams->roiHeight;