fixed measurement progress bar bug that kepts getting reset for each measurement

This commit is contained in:
Dhanya Maliakal 2016-02-05 11:29:02 +01:00
parent 03fc676b7e
commit fed40b02c4

View File

@ -169,7 +169,10 @@ int slsDetectorUtils::acquire(int delflag){
cout << " starting thread " << endl;
#endif
//resets frames caught in receiver
if(receiver){
resetFramesCaught();
}
for(int im=0;im<nm;im++) {
@ -177,10 +180,6 @@ int slsDetectorUtils::acquire(int delflag){
cout << " starting measurement "<< im << " of " << nm << endl;
#endif
//resets frames caught in receiver
if(receiver){
resetFramesCaught();
}
//cout << "data thread started " << endl;