tried to reduce the time to refresh measurement and settings tab

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@735 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d 2014-02-07 12:33:20 +00:00
parent 26c0520c10
commit c366c97023

View File

@ -3533,7 +3533,7 @@ int64_t slsDetector::setTimer(timerIndex index, int64_t t){
}
//send acquisiton period to receiver
if((index==FRAME_PERIOD) && (ret != FAIL) && (t != -1) && (setReceiverOnline(ONLINE_FLAG)==ONLINE_FLAG)){
if((setReceiverOnline(ONLINE_FLAG)==ONLINE_FLAG) && (index==FRAME_PERIOD) && (ret != FAIL) && (t != -1)){
//if acquisition period is zero, then #frames/buffer depends on exposure time and not acq period
if(!retval)
retval = timerValue[ACQUISITION_TIME];