| 1929 | } |
| 1930 | |
| 1931 | void |
| 1932 | TimeWindow::onPLLRecovery(void) |
| 1933 | { |
| 1934 | if (!this->ui->realWaveform->isComplete()) |
| 1935 | return; |
| 1936 | |
| 1937 | try { |
| 1938 | SUFLOAT relBw = SU_ABS2NORM_FREQ( |
| 1939 | this->fs, |
| 1940 | this->ui->pllCutOffSpin->value()); |
| 1941 | const SUCOMPLEX *orig; |
| 1942 | SUCOMPLEX *dest; |
| 1943 | SUSCOUNT len; |
| 1944 | |
| 1945 | this->getTransformRegion( |
| 1946 | orig, |
| 1947 | dest, |
| 1948 | len, |
| 1949 | this->ui->afcSelCheck->isChecked()); |
| 1950 | |
| 1951 | PLLSyncTask *task = new PLLSyncTask(orig, dest, len, relBw); |
| 1952 | |
| 1953 | this->notifyTaskRunning(true); |
| 1954 | this->taskController.process("pll", task); |
| 1955 | } catch (Suscan::Exception &e) { |
| 1956 | QMessageBox::warning( |
| 1957 | this, |
| 1958 | "PLL carrier recovery", |
| 1959 | "Cannot perform operation: " + QString(e.what())); |
| 1960 | } |
| 1961 | } |
| 1962 | |
| 1963 | void |
| 1964 | TimeWindow::onCycloAnalysis(void) |
nothing calls this directly
no test coverage detected