work in progress on spectrum enable after power off/on.

merge-requests/2/head
Elliott Liggett 2021-04-23 11:23:27 -07:00
rodzic 89a185a174
commit fdbf1af30c
1 zmienionych plików z 15 dodań i 0 usunięć

Wyświetl plik

@ -3753,6 +3753,21 @@ void wfmain::receiveSpectrumSpan(freqt freqspan, bool isSub)
void wfmain::on_rigPowerOnBtn_clicked()
{
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()