check for why gui doesnt show all data

This commit is contained in:
Dhanya Maliakal 2016-10-25 15:03:13 +02:00
parent e312098e56
commit 994ccac75b

View File

@ -5167,7 +5167,7 @@ void multiSlsDetector::startReceivingDataThread(){
//end of socket ("end") //end of socket ("end")
if (len < 1024*256 ) { if (len < 1024*256 ) {
if(len == 3){ if(len == 3){
//cprintf(RED,"Received end of acquisition for socket %d\n", ithread); cprintf(RED,"%d Received end of acquisition\n", ithread);
singleframe[ithread] = NULL; singleframe[ithread] = NULL;
//break; //break;
}else{ }else{
@ -5252,7 +5252,7 @@ void multiSlsDetector::readFrameFromReceiver(){
for(int i = 0; i < numReadouts; ++i) for(int i = 0; i < numReadouts; ++i)
dataThreadMask|=(1<<i); dataThreadMask|=(1<<i);
printf("dataThreadMask:%x\n",dataThreadMask);
//construct complete image and send to callback //construct complete image and send to callback
while(true){ while(true){
@ -5276,6 +5276,7 @@ void multiSlsDetector::readFrameFromReceiver(){
//this socket closed //this socket closed
if(singleframe[ireadout] == NULL){ //if got nothing if(singleframe[ireadout] == NULL){ //if got nothing
dataThreadMask^=(1<<ireadout); dataThreadMask^=(1<<ireadout);
printf("dataThreadMask:%x\n",dataThreadMask);
continue; continue;
} }