fixed the update on detector udpating acq period with subexptime

This commit is contained in:
Dhanya Maliakal
2016-07-15 15:45:40 +02:00
parent 4939e47305
commit bdf725be48
3 changed files with 4 additions and 7 deletions

View File

@ -3462,11 +3462,11 @@ int slsDetector::updateDetectorNoWait() {
n = controlSocket->ReceiveDataOnly( &retval,sizeof(int64_t));
thisDetector->timerValue[ACQUISITION_TIME]=retval;
if(thisDetector->myDetectorType!= EIGER){
if(thisDetector->myDetectorType == EIGER){
//retval=setSubFrameExposureTime(tns);
n = controlSocket->ReceiveDataOnly( &retval,sizeof(int64_t));
thisDetector->timerValue[SUBFRAME_ACQUISITION_TIME]=retval;
}
}
//retval=setPeriod(tns);
n = controlSocket->ReceiveDataOnly( &retval,sizeof(int64_t));
thisDetector->timerValue[FRAME_PERIOD]=retval;