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

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