gui progress of receiver should be of frame index and not frames caught

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@691 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d 2013-11-14 12:37:45 +00:00
parent 6faf3621d5
commit 00620db119

View File

@ -335,14 +335,13 @@ void slsDetectorUtils::acquire(int delflag){
pthread_mutex_unlock(&mg);
}else{
pthread_mutex_lock(&mg);
cout<<"going to start transmit"<<endl;
if(startReceiverReadout() == TRANSMITTING){
while(getReceiverStatus() != RUN_FINISHED){
pthread_mutex_unlock(&mg);
usleep(50000);
pthread_mutex_lock(&mg);
}
}cout<<"going to stop receiver"<<endl;
}
stopReceiver();
pthread_mutex_unlock(&mg);
}