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:
l_maliakal_d
2013-04-11 12:00:44 +00:00
parent 02376bbc62
commit 778cd97317
12 changed files with 174 additions and 16 deletions

View File

@@ -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;