mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 03:40:04 +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")
|
//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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user