mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 19:30:03 +02:00
check for why gui doesnt show all data
This commit is contained in:
parent
e312098e56
commit
994ccac75b
@ -5167,7 +5167,7 @@ void multiSlsDetector::startReceivingDataThread(){
|
||||
//end of socket ("end")
|
||||
if (len < 1024*256 ) {
|
||||
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;
|
||||
//break;
|
||||
}else{
|
||||
@ -5252,7 +5252,7 @@ void multiSlsDetector::readFrameFromReceiver(){
|
||||
for(int i = 0; i < numReadouts; ++i)
|
||||
dataThreadMask|=(1<<i);
|
||||
|
||||
|
||||
printf("dataThreadMask:%x\n",dataThreadMask);
|
||||
|
||||
//construct complete image and send to callback
|
||||
while(true){
|
||||
@ -5276,6 +5276,7 @@ void multiSlsDetector::readFrameFromReceiver(){
|
||||
//this socket closed
|
||||
if(singleframe[ireadout] == NULL){ //if got nothing
|
||||
dataThreadMask^=(1<<ireadout);
|
||||
printf("dataThreadMask:%x\n",dataThreadMask);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user