diff --git a/slsDetectorServers/eigerDetectorServer/FebControl.c b/slsDetectorServers/eigerDetectorServer/FebControl.c index 413e56a32..8a27d7767 100644 --- a/slsDetectorServers/eigerDetectorServer/FebControl.c +++ b/slsDetectorServers/eigerDetectorServer/FebControl.c @@ -999,13 +999,13 @@ int Feb_Control_StartAcquisition() { int Feb_Control_StopAcquisition() { if (Feb_Control_activated) { // sends last - unsigned int orig_value = 0; + /*unsigned int orig_value = 0; if (!Feb_Interface_ReadRegister(Feb_Control_AddressToAll(), DAQ_REG_CTRL, &orig_value)) { LOG(logERROR, ("Could not read DAQ_REG_CHIP_CMDS to send software " "trigger\n")); return 0; - } + }*/ if (!Feb_Interface_WriteRegister(Feb_Control_AddressToAll(), DAQ_REG_CTRL, orig_value | DAQ_CTRL_STOP, 0, 0)) { diff --git a/slsDetectorSoftware/src/Detector.cpp b/slsDetectorSoftware/src/Detector.cpp index 2acc30749..296e1aede 100644 --- a/slsDetectorSoftware/src/Detector.cpp +++ b/slsDetectorSoftware/src/Detector.cpp @@ -697,7 +697,7 @@ void Detector::startDetectorReadout() { } void Detector::stopDetector(Positions pos) { - auto detector_type = getDetectorType().squash(); + /*auto detector_type = getDetectorType().squash(); if (detector_type == defs::EIGER && size() > 1) { auto is_master = getMaster(); int masterPosition = -1; @@ -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 {