gui client works for just getting status

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@149 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d
2013-03-01 13:21:07 +00:00
parent 2fc324ab4b
commit 863b662c6b
15 changed files with 564 additions and 17 deletions

View File

@ -83,6 +83,7 @@ void qTabMeasurement::SetupWidgetWindow(){
iconStart = new QIcon(":/icons/images/start.png");
iconStop = new QIcon(":/icons/images/stop.png");
}
@ -323,6 +324,25 @@ void qTabMeasurement::startStopAcquisition(){
}
//-------------------------------------------------------------------------------------------------------------------------------------------------
/*
int qTabMeasurement::GetAcquisitionStarted(){
cout<<" acquisition started call back"<<endl;
//if the acquisition started from client, the button wont be checked
if(!btnStartStop->isChecked()){cout<<" hasnt started, so from client"<<endl;
myPlot->SetAcqFromClient();
btnStartStop->click();
//wait till the gui is ready to execute the acquire(), but doesnt execute it
//acqFromClient is reset when it is ready
while(myPlot->GetAcqFromClient());
}else
cout<<" has started, so from gui"<<endl;
return 0;
}
*/
//-------------------------------------------------------------------------------------------------------------------------------------------------