reset acquiringDone before acquistion

This commit is contained in:
Dhanya Maliakal 2015-08-19 16:56:17 +02:00
parent 79e13c6db7
commit 704c0f796a

View File

@ -57,6 +57,9 @@ void slsDetectorUtils::acquire(int delflag){
if(setDynamicRange() == 32) subframe = 1; if(setDynamicRange() == 32) subframe = 1;
else subframe = 0; else subframe = 0;
pthread_mutex_lock(&mg);
acquiringDone = 0;
pthread_mutex_unlock(&mg);
// setTotalProgress(); // setTotalProgress();
//moved these 2 here for measurement change //moved these 2 here for measurement change