mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 23:10:02 +02:00
back to not asking getframescaught
This commit is contained in:
parent
1f3a418d93
commit
f0ac9a2e9c
@ -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]){
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user