mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-09 03:20:42 +02:00
handling acquisitionfinished callback
This commit is contained in:
parent
146d605d19
commit
5c71dd7246
@ -604,6 +604,10 @@ void Implementation::stopReceiver() {
|
|||||||
acquisitionFinishedCallBack((tot / numThreads),
|
acquisitionFinishedCallBack((tot / numThreads),
|
||||||
pAcquisitionFinished);
|
pAcquisitionFinished);
|
||||||
} catch (const std::exception &e) {
|
} catch (const std::exception &e) {
|
||||||
|
// change status
|
||||||
|
status = IDLE;
|
||||||
|
LOG(logINFO) << "Receiver Stopped";
|
||||||
|
LOG(logINFO) << "Status: " << sls::ToString(status);
|
||||||
throw sls::RuntimeError(
|
throw sls::RuntimeError(
|
||||||
"Acquisition Finished Callback Error: " +
|
"Acquisition Finished Callback Error: " +
|
||||||
std::string(e.what()));
|
std::string(e.what()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user