mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
fixed the undefined state of gui when acquisition stopped
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@545 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -4667,3 +4667,11 @@ int multiSlsDetector::setReadReceiverFrequency(int i){
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void multiSlsDetector::waitForReceiverReadToFinish(){
|
||||
for (int idet=0; idet<thisMultiDetector->numberOfDetectors; idet++)
|
||||
if (detectors[idet])
|
||||
detectors[idet]->waitForReceiverReadToFinish();
|
||||
}
|
||||
|
@ -1197,6 +1197,11 @@ class multiSlsDetector : public slsDetectorUtils {
|
||||
/** updates the multidetector offsets */
|
||||
void updateOffsets();
|
||||
|
||||
/**
|
||||
* Waits for receiver read to finish after stopping acquisition
|
||||
*/
|
||||
void waitForReceiverReadToFinish();
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user