back to not asking getframescaught

This commit is contained in:
Dhanya Maliakal 2016-11-01 15:59:43 +01:00
parent 1f3a418d93
commit f0ac9a2e9c
2 changed files with 6 additions and 6 deletions

View File

@ -4928,7 +4928,7 @@ slsDetectorDefs::runStatus multiSlsDetector::getReceiverStatus(){
int multiSlsDetector::getFramesCaughtByReceiver() {
int ret=0,ret1=0;
/*
if(thisMultiDetector->numberOfDetectors>10) {
if (detectors[0]){
ret =detectors[0]->getFramesCaughtByReceiver();
@ -4937,7 +4937,7 @@ int multiSlsDetector::getFramesCaughtByReceiver() {
}
return ret;
}
*/
for (int i=0; i<thisMultiDetector->numberOfDetectors; i++)
if (detectors[i]){

View File

@ -497,15 +497,15 @@ void* postProcessing::processData(int delflag) {
int caught = -1;
while(true){
cout.flush();
cout<<flush;
//cout.flush();
//cout<<flush;
usleep(40000); //20ms need this else connecting error to receiver (too fast)
if (checkJoinThread()){
break;
}
/*
//get progress
pthread_mutex_lock(&mg);
if(setReceiverOnline() == ONLINE_FLAG){
@ -524,7 +524,7 @@ void* postProcessing::processData(int delflag) {
if (checkJoinThread()){
break;
}
*/
}