mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02:00
frame index updated for receiver
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@322 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -320,7 +320,7 @@ int postProcessing::fillBadChannelMask() {
|
||||
|
||||
|
||||
void* postProcessing::processData(int delflag) {
|
||||
|
||||
if(setReceiverOnline()==OFFLINE_FLAG){
|
||||
|
||||
#ifdef VERBOSE
|
||||
std::cout<< " processing data - threaded mode " << *threadedProcessing << endl;
|
||||
@ -365,6 +365,19 @@ void* postProcessing::processData(int delflag) {
|
||||
if (fdata) {
|
||||
delete [] fdata;
|
||||
}
|
||||
}
|
||||
//receiver
|
||||
else{
|
||||
int prevCaught=getCurrentFrameIndex();
|
||||
int caught=0;
|
||||
while(getRunStatus()!=IDLE){
|
||||
//while((getCurrentProgress()<100)&&(getReceiverStatus()==RUNNING)){
|
||||
caught=getCurrentFrameIndex();
|
||||
incrementProgress(caught-prevCaught);cout<<endl;
|
||||
prevCaught=caught;
|
||||
usleep(1000000);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user