Commit 48f708a3 authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

added power supply section

parent 79c56b1c
......@@ -27,10 +27,9 @@ Building
qmake
make
./bin/turbopump-gui pfe_f01/vacuum/tmp500_pfe_f01.01
./bin/turbopump-gui pfe_f01/vacuum/tmp300_pfe_f01.01
./bin/turbopump-gui pfe_f01/vacuum/tmp80_pfe_f01.01
./bin/turbopump-gui pfe_f01/vacuum/tmp300_pfe_f01.01 pfe_f01/vacuum/tmp_f01
./bin/turbopump-gui pfe_f01/vacuum/tmp80_pfe_f01.01 pfe_f01/vacuum/tmp_f01
Main customer
-------------
......
......@@ -24,10 +24,16 @@ Turbopump::Turbopump(CumbiaPool *cumbia_pool, QWidget *parent) :
// get device
QString de = ui->qulCurr->source().section('/', -2, -3);
QString de = ui->qulCurr->source().section('/', -2, -2).replace(".", "_");
printf("TurboPump: device %s\n", qstoc(de));
ui->ledNoErr->setSource("$1/ErrorCode");
ui->textErrCode->setSource("$1/ErrorCode");
// power supply ON/OFF & C.
ui->qubPSOn->setTarget("$2->on_" + de);
ui->qubPSOff->setTarget("$2->off_" + de);
ui->ledPSOn->setSource("$2/" + de + "_abi");
ui->ledPSOk->setSource("$2/" + de + "_on");
}
Turbopump::~Turbopump()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment