not much change

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@421 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d 2013-01-11 07:55:02 +00:00
parent af2d3d87b3
commit da2fd8369d
4 changed files with 10 additions and 11 deletions

View File

@ -1293,7 +1293,7 @@ int* multiSlsDetector::startAndReadAll(){
/** Thread for each detector?!?!?! */ /** Thread for each detector?!?!?! */
#ifdef VERBOSE #ifdef VERBOSE
cout << "Start and read all " << endl; cout << "Start and read all " << endl;
#endif #endif
int* retval; int* retval;

View File

@ -3146,7 +3146,7 @@ int* slsDetector::getDataFromDetector(int *retval){
; ;
#ifdef VERBOSE #ifdef VERBOSE
std::cout<< "Detector successfully returned: " << mess << " " << n << std::endl; std::cout<< "Detector successfully returned: " << mess << " " << n << std::endl;
#endif #endif
} }
if (r==NULL) { if (r==NULL) {
delete [] retval; delete [] retval;

View File

@ -310,9 +310,10 @@ void slsDetectorUtils::acquire(int delflag){
usleep(100000); usleep(100000);
} }
if (getDetectorsType()==GOTTHARD) if (getDetectorsType()==GOTTHARD){
if((*correctionMask)&(1<<WRITE_FILE)) if((*correctionMask)&(1<<WRITE_FILE))
closeDataFile(); closeDataFile();
}
}else{ }else{
while(stopReceiver()!=OK); while(stopReceiver()!=OK);
@ -448,11 +449,9 @@ void slsDetectorUtils::acquire(int delflag){
if (eclog) if (eclog)
delete eclog; delete eclog;
if (acquisition_finished) { if (acquisition_finished)
cout << "Acquisition " << endl;
acquisition_finished(getCurrentProgress(),getDetectorStatus(),acqFinished_p); acquisition_finished(getCurrentProgress(),getDetectorStatus(),acqFinished_p);
cout << "finished " << endl;
}
} }

View File

@ -354,14 +354,14 @@ void* postProcessing::processData(int delflag) {
/* IF THERE ARE DATA PROCESS THEM*/ /* IF THERE ARE DATA PROCESS THEM*/
while((queuesize=dataQueueSize())>0) { while((queuesize=dataQueueSize())>0) {
/** Pop data queue */ /** Pop data queue */
#ifdef VERBOSE //#ifdef VERBOSE
cout << "data found"<< endl; cout << "data found"<< endl;
#endif //#endif
myData=dataQueueFront(); // get the data from the queue myData=dataQueueFront(); // get the data from the queue
#ifdef VERBOSE //#ifdef VERBOSE
cout << "got them"<< endl; cout << "got them"<< endl;
#endif //#endif
if (myData) { if (myData) {
processFrame(myData,delflag); processFrame(myData,delflag);