mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-16 23:07:13 +02:00
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:
@ -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");
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user