working version for eiger detector before branching to gemma

This commit is contained in:
Maliakal Dhanya
2014-12-01 17:15:31 +01:00
parent f79f8558f0
commit 28b7a73b13
4 changed files with 16 additions and 12 deletions

View File

@ -4455,7 +4455,7 @@ slsDetectorDefs::runStatus multiSlsDetector::getReceiverStatus(){
return s;
}
if (detectors[0]) s=detectors[0]->getReceiverStatus();
// if (detectors[0]) s=detectors[0]->getReceiverStatus();
for (int i=0; i<thisMultiDetector->numberOfDetectors; i++) {
s1=detectors[i]->getReceiverStatus();
@ -4463,8 +4463,10 @@ slsDetectorDefs::runStatus multiSlsDetector::getReceiverStatus(){
setErrorMask(getErrorMask()|(1<<i));
if (s1==ERROR)
s=ERROR;
if (s1==IDLE && s!=IDLE)
s=ERROR;
//if (s1==IDLE && s!=IDLE)
// s=ERROR;
if (s1!=IDLE)
s = s1;
}
return s;