mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 07:17:13 +02:00
made measurement tab faster, not too many checks anymore
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@259 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
@ -1142,9 +1142,14 @@ void qTabAdvanced::Refresh(){
|
||||
|
||||
qDefs::checkErrorMessage(myDet,"qTabAdvanced::Refresh");
|
||||
|
||||
|
||||
|
||||
#ifdef VERBOSE
|
||||
cout << "Getting Detector Ports" << endl;
|
||||
#endif
|
||||
//disconnect
|
||||
disconnect(spinControlPort, SIGNAL(valueChanged(int)), this, SLOT(SetControlPort(int)));
|
||||
disconnect(spinStopPort, SIGNAL(valueChanged(int)), this, SLOT(SetStopPort(int)));
|
||||
disconnect(spinStopPort, SIGNAL(valueChanged(int)), this, SLOT(SetStopPort(int)));
|
||||
disconnect(comboOnline, SIGNAL(currentIndexChanged(int)), this, SLOT(SetOnline(int)));
|
||||
|
||||
//so that updated status
|
||||
@ -1160,7 +1165,9 @@ void qTabAdvanced::Refresh(){
|
||||
connect(comboOnline, SIGNAL(currentIndexChanged(int)), this, SLOT(SetOnline(int)));
|
||||
|
||||
|
||||
|
||||
#ifdef VERBOSE
|
||||
cout << "Getting Receiver Network Information" << endl;
|
||||
#endif
|
||||
if ((detType==slsDetectorDefs::GOTTHARD) || (detType==slsDetectorDefs::MOENCH)){
|
||||
//disconnect
|
||||
disconnect(spinTCPPort, SIGNAL(valueChanged(int)), this, SLOT(SetRxrTCPPort(int)));
|
||||
@ -1226,6 +1233,9 @@ void qTabAdvanced::Refresh(){
|
||||
}
|
||||
|
||||
//roi
|
||||
#ifdef VERBOSE
|
||||
cout << "Getting ROI" << endl;
|
||||
#endif
|
||||
updateROIList();
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user