mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-29 09:30: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) {
|
void Detector::stopDetector(Positions pos) {
|
||||||
auto detector_type = getDetectorType().squash();
|
auto detector_type = getDetectorType().squash();
|
||||||
if (detector_type == defs::EIGER && size() > 1) {
|
/*if (detector_type == defs::EIGER && size() > 1) {
|
||||||
auto is_master = getMaster();
|
auto is_master = getMaster();
|
||||||
int masterPosition = -1;
|
int masterPosition = -1;
|
||||||
std::vector<int> slaves;
|
std::vector<int> slaves;
|
||||||
@ -716,9 +716,9 @@ void Detector::stopDetector(Positions pos) {
|
|||||||
if (masterPosition != -1) {
|
if (masterPosition != -1) {
|
||||||
pimpl->Parallel(&Module::stopAcquisition, {masterPosition});
|
pimpl->Parallel(&Module::stopAcquisition, {masterPosition});
|
||||||
}
|
}
|
||||||
} else {
|
} else {*/
|
||||||
pimpl->Parallel(&Module::stopAcquisition, pos);
|
pimpl->Parallel(&Module::stopAcquisition, pos);
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
Result<defs::runStatus> Detector::getDetectorStatus(Positions pos) const {
|
Result<defs::runStatus> Detector::getDetectorStatus(Positions pos) const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user