mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 12:07:44 +01:00
started the basics for sending every nth frame from receiver to gui.incomplete and will be implemented later
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@506 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@@ -398,11 +398,14 @@ void* postProcessing::processData(int delflag) {
|
||||
if (checkJoinThread()) break;
|
||||
usleep(200000);
|
||||
}
|
||||
*/
|
||||
*/
|
||||
/*if(setReadReceiverFrequency()>0)) ******Not implemented yet ********
|
||||
* else
|
||||
*/
|
||||
|
||||
pthread_mutex_lock(&mg);
|
||||
pthread_mutex_lock(&mg);
|
||||
int prevCaught=getReceiverCurrentFrameIndex();
|
||||
pthread_mutex_unlock(&mg);
|
||||
pthread_mutex_unlock(&mg);
|
||||
|
||||
int caught=0;
|
||||
bool newData=false;
|
||||
@@ -446,10 +449,11 @@ void* postProcessing::processData(int delflag) {
|
||||
}
|
||||
}
|
||||
else{
|
||||
cout<<"****Detector returned mismatched indeices***"<<endl;
|
||||
cout<<"****Detector returned mismatched indices/garbage. Trying again.***"<<endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user