mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-20 16:48:01 +02:00
so that gui can reread the same frame from receiver, guidataready is set to zero only once
This commit is contained in:
@ -1336,9 +1336,9 @@ int slsReceiverTCPIPInterface::eiger_read_frame(){
|
||||
/**send garbage with -1 index to try again*/
|
||||
if (raw == NULL){
|
||||
arg = -1;
|
||||
#ifdef VERBOSE
|
||||
//#ifdef VERBOSE
|
||||
cout<<"data not ready for gui yet"<<endl;
|
||||
#endif
|
||||
//#endif
|
||||
}
|
||||
|
||||
/**proper frame*/
|
||||
@ -1464,15 +1464,19 @@ int slsReceiverTCPIPInterface::eiger_read_frame(){
|
||||
*/
|
||||
}
|
||||
arg = index-startIndex;
|
||||
//#ifdef VERY_VERY_DEBUG
|
||||
cout << "arg calculated is:"<<arg<<endl;
|
||||
cout <<"index:"<<index<<" startindex:"<<startIndex<<endl;
|
||||
//#endif
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef VERBOSE
|
||||
if(arg!=-1){
|
||||
//#ifdef VERBOSE
|
||||
//if(arg!=-1){
|
||||
cout << "fName:" << fName << endl;
|
||||
cout << "findex:" << arg << endl;
|
||||
}
|
||||
#endif
|
||||
cout << "findex:" << dec << arg << endl;
|
||||
//}
|
||||
//#endif
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user