mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 22:40:02 +02:00
fixed measurement progress bar bug that kepts getting reset for each measurement
This commit is contained in:
parent
03fc676b7e
commit
fed40b02c4
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user