diff --git a/src/gunrfdist.cpp b/src/gunrfdist.cpp index ebac87078ccc7d9c3f2254c9cbc917126543cd29..bcf40095a445804cf41401a54f7148a8bce81cf5 100644 --- a/src/gunrfdist.cpp +++ b/src/gunrfdist.cpp @@ -32,33 +32,6 @@ gunrfdist::gunrfdist(QWidget *parent) : QWidget(parent) catch (...) { cout << "cannot connect HV server" << endl; } - /* init apply numeric - try{ - attrVal = gunServer->read_attribute("PhaseShifterS1"); - attrVal >> val; - ui.tApplyNumeric_0->setValue(val); - } - catch (...) { - cout << "cannot set initial PhaseShifterS1" << endl; - } - /* - try{ - attrVal = gunServer->read_attribute("PhaseShifterBuncher"); - attrVal >> val; - ui.tApplyNumeric_1->setValue(val); - } - catch (...) { - cout << "cannot set initial PhaseShifterBuncher" << endl; - } - try{ - attrVal = gunServer->read_attribute("PowerDividerS1"); - attrVal >> val; - ui.tApplyNumeric_2->setValue(val); - } - catch (...) { - cout << "cannot set initial PowerDividerS1" << endl; - } - */ } gunrfdist::~gunrfdist()