mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02:00
there was a gap between start and get status
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@154 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
@ -724,7 +724,6 @@ int qDetectorMain::StartStopAcquisitionFromClient(bool start){
|
||||
#ifdef VERBOSE
|
||||
cout << "Start/Stop Acquisition From Client:" << start << endl;
|
||||
#endif
|
||||
int ret = slsDetectorDefs::FAIL;
|
||||
|
||||
if (tab_measurement->GetStartStatus() != start){
|
||||
if(start){
|
||||
@ -735,12 +734,10 @@ int qDetectorMain::StartStopAcquisitionFromClient(bool start){
|
||||
}
|
||||
//click start/stop
|
||||
tab_measurement->ClickStartStop();
|
||||
while(myPlot->GetClientInitiated());
|
||||
}
|
||||
|
||||
if (myPlot->isRunning() == start)
|
||||
ret = slsDetectorDefs::OK;
|
||||
|
||||
return ret;
|
||||
return slsDetectorDefs::OK;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user