mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 07:17:13 +02:00
stop command: Support single (half)module stop
This commit is contained in:
@ -697,7 +697,7 @@ void Detector::startDetectorReadout() {
|
||||
pimpl->Parallel(&Module::startReadout, {});
|
||||
}
|
||||
|
||||
void Detector::stopDetector() { pimpl->Parallel(&Module::stopAcquisition, {}); }
|
||||
void Detector::stopDetector(Positions pos) { pimpl->Parallel(&Module::stopAcquisition, pos); }
|
||||
|
||||
Result<defs::runStatus> Detector::getDetectorStatus(Positions pos) const {
|
||||
return pimpl->Parallel(&Module::getRunStatus, pos);
|
||||
@ -2092,4 +2092,4 @@ std::vector<int> Detector::getPortNumbers(int start_port) {
|
||||
return res;
|
||||
}
|
||||
|
||||
} // namespace sls
|
||||
} // namespace sls
|
||||
|
Reference in New Issue
Block a user