diff --git a/src/channel.cpp b/src/channel.cpp index ec0002f0e18a7ccb2e4ece9c061722620d020f19..eaa97972f601f713aac7099c8f09bf712819ca25 100644 --- a/src/channel.cpp +++ b/src/channel.cpp @@ -19,14 +19,18 @@ Channel::~Channel() void Channel::onPbFixClicked() { // FixedX(0) then VTargetX(NNNN) then FixedX(1) where X is the channel and NNNN the voltage // properties set in FourUHV::onPsListReady - const QString& t0 = QString("$1/Fixed%1(0)").arg(sender()->property("channel").toInt()); + // + // Request #17730: revert to single VTargetX(3000), VTargetX(5000) and so + // +// const QString& t0 = QString("$1/Fixed%1(0)").arg(sender()->property("channel").toInt()); const QString& t1 = sender()->property("target").toString(); - const QString& t2 = QString("$1/Fixed%1(1))").arg(sender()->property("channel").toInt()); +// const QString& t2 = QString("$1/Fixed%1(1))").arg(sender()->property("channel").toInt()); - foreach(const QString& t, QStringList() << t0 << t1 << t2) { + foreach(const QString& t, QStringList() << t1) { QuWriter *w = new QuWriter(this, cu_pool, m_ctrl_fpool); w->setAutoDestroy(true); w->setTarget(t); +// printf("executing \"%s\"\n", qstoc(w->target())); w->execute(); } }