kopia lustrzana https://gitlab.com/eliggett/wfview
work in progress on spectrum enable after power off/on.
rodzic
89a185a174
commit
fdbf1af30c
15
wfmain.cpp
15
wfmain.cpp
|
@ -3753,6 +3753,21 @@ void wfmain::receiveSpectrumSpan(freqt freqspan, bool isSub)
|
||||||
void wfmain::on_rigPowerOnBtn_clicked()
|
void wfmain::on_rigPowerOnBtn_clicked()
|
||||||
{
|
{
|
||||||
emit sendPowerOn();
|
emit sendPowerOn();
|
||||||
|
if(ui->scopeEnableWFBtn->isChecked())
|
||||||
|
{
|
||||||
|
issueDelayedCommand(cmdNone);
|
||||||
|
issueDelayedCommand(cmdNone);
|
||||||
|
// TODO: issue these two commands after a few seconds delay
|
||||||
|
// so that the rig can fully boot up.
|
||||||
|
|
||||||
|
// idea: just change the time on the delayed command
|
||||||
|
// temporarily to a few seconds, and then back.
|
||||||
|
|
||||||
|
// we can add two cmds to alter the time in-queue.
|
||||||
|
issueDelayedCommand(cmdDispEnable);
|
||||||
|
issueDelayedCommand(cmdSpecOn);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void wfmain::on_rigPowerOffBtn_clicked()
|
void wfmain::on_rigPowerOffBtn_clicked()
|
||||||
|
|
Ładowanie…
Reference in New Issue