wait state between acquistion finished and ready for next acquire in gui, check if acquiringflag is set then reset it

This commit is contained in:
Dhanya Maliakal
2017-11-30 16:20:26 +01:00
parent d5c310a2db
commit baee38802b
5 changed files with 23 additions and 5 deletions

View File

@ -329,6 +329,7 @@ void qDetectorMain::Initialization(){
// Plotting
// When the acquisition is finished, must update the meas tab
connect(myPlot, SIGNAL(UpdatingPlotFinished()), this, SLOT(EnableTabs()));
connect(myPlot, SIGNAL(AcquisitionFinishedSignal()), tab_measurement, SLOT(AcquisitionFinished()));
connect(myPlot, SIGNAL(UpdatingPlotFinished()), tab_measurement, SLOT(UpdateFinished()));
//This should not be called as it will change file name to measurement when run finished
//connect(myPlot, SIGNAL(UpdatingPlotFinished()), tab_plot, SLOT(Refresh()));