mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-03 11:20:03 +02:00
fix that only master starts second and not all (for start acq), typo with pos and masters list (#743)
This commit is contained in:
parent
5871086cd6
commit
312f3f473d
@ -1311,7 +1311,7 @@ void DetectorImpl::startAcquisition(const bool blocking, Positions pos) {
|
|||||||
if (!masters.empty()) {
|
if (!masters.empty()) {
|
||||||
Parallel((blocking ? &Module::startAndReadAll
|
Parallel((blocking ? &Module::startAndReadAll
|
||||||
: &Module::startAcquisition),
|
: &Module::startAcquisition),
|
||||||
pos);
|
masters);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// all in parallel
|
// all in parallel
|
||||||
@ -1385,7 +1385,7 @@ void DetectorImpl::processData(bool receiver) {
|
|||||||
if (fgetc(stdin) == 'q') {
|
if (fgetc(stdin) == 'q') {
|
||||||
LOG(logINFO)
|
LOG(logINFO)
|
||||||
<< "Caught the command to stop acquisition";
|
<< "Caught the command to stop acquisition";
|
||||||
Parallel(&Module::stopAcquisition, {});
|
stopDetector({});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// get and print progress
|
// get and print progress
|
||||||
|
Loading…
x
Reference in New Issue
Block a user