mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-18 15:57:13 +02:00
getmaster through stop server, allowing stopacq to first go to slave for eiger, eiger stop to first check reg value to send complete frames before calling stop
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user