mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 01:00:02 +02:00
without getmaster, getmaster needs to go to stop server
This commit is contained in:
parent
130613f730
commit
f111ac733b
@ -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<int> 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<defs::runStatus> Detector::getDetectorStatus(Positions pos) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user