solved many bugs, but cannot get data in eiger

This commit is contained in:
Dhanya Maliakal
2017-06-09 16:05:40 +02:00
parent 1e8c7bd637
commit 73c97f1381
2 changed files with 66 additions and 25 deletions

View File

@ -189,7 +189,8 @@ void qTabAdvanced::SetupWidgetWindow(){
//updates roi
cout << "Getting ROI" << endl;
updateROIList();
if (myDet->getDetectorsType() == slsDetectorDefs::GOTTHARD)
updateROIList();
// print receiver configurations
if(myDet->getDetectorsType() != slsDetectorDefs::MYTHEN){
@ -278,10 +279,11 @@ void qTabAdvanced::Initialization(){
//roi
connect(btnClearRoi, SIGNAL(clicked()), this, SLOT(clearROIinDetector()));
connect(btnGetRoi, SIGNAL(clicked()), this, SLOT(updateROIList()));
connect(btnSetRoi, SIGNAL(clicked()), this, SLOT(setROI()));
if (myDet->getDetectorsType() == slsDetectorDefs::GOTTHARD) {
connect(btnClearRoi, SIGNAL(clicked()), this, SLOT(clearROIinDetector()));
connect(btnGetRoi, SIGNAL(clicked()), this, SLOT(updateROIList()));
connect(btnSetRoi, SIGNAL(clicked()), this, SLOT(setROI()));
}
}
@ -1317,7 +1319,8 @@ void qTabAdvanced::Refresh(){
#ifdef VERBOSE
cout << "Getting ROI" << endl;
#endif
updateROIList();
if (myDet->getDetectorsType() == slsDetectorDefs::GOTTHARD)
updateROIList();
//update alltirmbits from server
if(boxSetAllTrimbits->isEnabled())