resolved the recovering from receiver start error , but still does not acknowledge error in gui

This commit is contained in:
Dhanya Maliakal
2017-03-10 13:07:33 +01:00
parent 978b54dff9
commit cad8ffc0c6
2 changed files with 11 additions and 7 deletions

View File

@@ -7708,9 +7708,13 @@ int slsDetector::startReceiver(){
setErrorMask((getErrorMask())|(COULDNOT_START_RECEIVER));
}
}
//let detector prepare anyway even if receiver didnt work
if((thisDetector->myDetectorType !=JUNGFRAU))
ret=detectorSendToReceiver(true);
//let detector prepare anyway even if receiver didnt work (for those not using the receiver)
if((thisDetector->myDetectorType != JUNGFRAU)) {
int ret1 = detectorSendToReceiver(true);
if (ret != FAIL)
ret = ret1;
}
return ret;
}