From c366c970231affcdd5ec89fb4e8e34bfb2e42069 Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Fri, 7 Feb 2014 12:33:20 +0000 Subject: [PATCH] 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 --- slsDetectorSoftware/slsDetector/slsDetector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorSoftware/slsDetector/slsDetector.cpp b/slsDetectorSoftware/slsDetector/slsDetector.cpp index 4b70951c8..0f3cc3368 100644 --- a/slsDetectorSoftware/slsDetector/slsDetector.cpp +++ b/slsDetectorSoftware/slsDetector/slsDetector.cpp @@ -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];