mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-14 13:57:13 +02:00
fixed measurement progress bar bug that kepts getting reset for each measurement
This commit is contained in:
@ -169,7 +169,10 @@ int slsDetectorUtils::acquire(int delflag){
|
|||||||
cout << " starting thread " << endl;
|
cout << " starting thread " << endl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//resets frames caught in receiver
|
||||||
|
if(receiver){
|
||||||
|
resetFramesCaught();
|
||||||
|
}
|
||||||
|
|
||||||
for(int im=0;im<nm;im++) {
|
for(int im=0;im<nm;im++) {
|
||||||
|
|
||||||
@ -177,10 +180,6 @@ int slsDetectorUtils::acquire(int delflag){
|
|||||||
cout << " starting measurement "<< im << " of " << nm << endl;
|
cout << " starting measurement "<< im << " of " << nm << endl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//resets frames caught in receiver
|
|
||||||
if(receiver){
|
|
||||||
resetFramesCaught();
|
|
||||||
}
|
|
||||||
|
|
||||||
//cout << "data thread started " << endl;
|
//cout << "data thread started " << endl;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user