check for why gui doesnt show all data

This commit is contained in:
Dhanya Maliakal
2016-10-25 15:53:04 +02:00
parent 51c0ca8c6e
commit 64965e2a1a
2 changed files with 1 additions and 2 deletions

View File

@ -5255,7 +5255,7 @@ void multiSlsDetector::readFrameFromReceiver(){
//construct complete image and send to callback //construct complete image and send to callback
while(true){ while(true){
memset(((char*)multiframe),0xFF,slsdatabytes*thisMultiDetector->numberOfDetectors); //reset frame memory //memset(((char*)multiframe),0xFF,slsdatabytes*thisMultiDetector->numberOfDetectors); //reset frame memory
//post all of them to start //post all of them to start
for(int ireadout=0; ireadout<numReadouts; ++ireadout){ for(int ireadout=0; ireadout<numReadouts; ++ireadout){

View File

@ -448,7 +448,6 @@ int slsDetectorUtils::acquire(int delflag){
setFileIndex(fileIO::getFileIndex()); setFileIndex(fileIO::getFileIndex());
pthread_mutex_unlock(&mg); pthread_mutex_unlock(&mg);
usleep(5*1000*1000);
if (measurement_finished){ if (measurement_finished){
pthread_mutex_lock(&mg); pthread_mutex_lock(&mg);
measurement_finished(im,*fileIndex,measFinished_p); measurement_finished(im,*fileIndex,measFinished_p);