From f111ac733b89333b952ac919afcdfe04a38336ec Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Tue, 15 Jun 2021 12:45:58 +0200 Subject: [PATCH] without getmaster, getmaster needs to go to stop server --- slsDetectorSoftware/src/Detector.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/slsDetectorSoftware/src/Detector.cpp b/slsDetectorSoftware/src/Detector.cpp index 2acc30749..31ab0d22b 100644 --- a/slsDetectorSoftware/src/Detector.cpp +++ b/slsDetectorSoftware/src/Detector.cpp @@ -698,7 +698,7 @@ void Detector::startDetectorReadout() { void Detector::stopDetector(Positions pos) { auto detector_type = getDetectorType().squash(); - if (detector_type == defs::EIGER && size() > 1) { + /*if (detector_type == defs::EIGER && size() > 1) { auto is_master = getMaster(); int masterPosition = -1; std::vector slaves; @@ -716,9 +716,9 @@ void Detector::stopDetector(Positions pos) { if (masterPosition != -1) { pimpl->Parallel(&Module::stopAcquisition, {masterPosition}); } - } else { - pimpl->Parallel(&Module::stopAcquisition, pos); - } + } else {*/ + pimpl->Parallel(&Module::stopAcquisition, pos); + //} } Result Detector::getDetectorStatus(Positions pos) const {