check for why gui doesnt show all data

This commit is contained in:
Dhanya Maliakal 2016-10-25 16:22:09 +02:00
parent e6f17ed9d5
commit a8fb66483d

View File

@ -1153,6 +1153,10 @@ int qDrawPlot::GetData(detectorData *data,int fIndex, int subIndex){
#endif #endif
currentFrame++; currentFrame++;
} }
if(frameFactor)
#ifdef VERYVERBOSE #ifdef VERYVERBOSE
cout << "Exiting GetData function" << endl; cout << "Exiting GetData function" << endl;
#endif #endif
@ -1260,7 +1264,7 @@ int qDrawPlot::MeasurementFinished(int currentMeasurementIndex, int fileIndex){
#endif #endif
//to make sure it plots the last frame before setting lastimagearray all to 0 //to make sure it plots the last frame before setting lastimagearray all to 0
//if(plot_in_scope==2) //if(plot_in_scope==2)
usleep(5*1000*1000); //usleep(5*1000*1000);
//usleep(500*1000); //usleep(500*1000);
currentMeasurement = currentMeasurementIndex+1; currentMeasurement = currentMeasurementIndex+1;
currentFileIndex = fileIndex; currentFileIndex = fileIndex;