removed checkinfinity flags

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@249 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
bergamaschi
2013-12-17 10:31:54 +00:00
parent 5c1574ec90
commit 3731bfd51e
4 changed files with 49 additions and 16 deletions

View File

@ -123,15 +123,17 @@ void qTabAdvanced::SetupWidgetWindow(){
comboDetector->addItem(QString(myDet->getHostname(i).c_str()));
comboDetector->setCurrentIndex(0);
det = myDet->getSlsDetector(comboDetector->currentIndex());
qDefs::checkErrorMessage(myDet,"qTabAdvanced::SetupWidgetWindow");
cout << "ports" << endl;
spinControlPort->setValue(det->getControlPort());
spinStopPort->setValue(det->getStopPort());
spinTCPPort->setValue(det->getReceiverPort());
spinUDPPort->setValue(atoi(det->getReceiverUDPPort()));
cout << "net" << endl;
dispIP->setText(det->getDetectorIP());
dispMAC->setText(det->getDetectorMAC());
dispRxrHostname->setText(det->getReceiver());
@ -140,6 +142,8 @@ void qTabAdvanced::SetupWidgetWindow(){
//check if its online and set it to red if offline
cout << "online" << endl;
if(det->setOnline()==slsDetectorDefs::ONLINE_FLAG)
det->checkOnline();
if(det->setReceiverOnline()==slsDetectorDefs::ONLINE_FLAG)
@ -160,12 +164,17 @@ void qTabAdvanced::SetupWidgetWindow(){
}
cout << "ROI" << endl;
//updates roi
updateROIList();
cout << "Init" << endl;
Initialization();
cout << "done" << endl;
qDefs::checkErrorMessage(det,"qTabAdvanced::SetupWidgetWindow");
}