Skip to content

Commit

Permalink
disable FFT mode for zero span
Browse files Browse the repository at this point in the history
  • Loading branch information
jankae committed Feb 4, 2024
1 parent 8c44a8d commit 2bbb879
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ bool LibreVNADriver::setSA(const DeviceDriver::SASettings &s, std::function<void
p.spectrumSettings.SignalID = SASignalID ? 1 : 0;
p.spectrumSettings.Detector = (int) s.detector;
p.spectrumSettings.UseDFT = 0;
if(!s.trackingGenerator && SAUseDFT && s.RBW <= SARBWLimitForDFT) {
if(!s.trackingGenerator && SAUseDFT && s.RBW <= SARBWLimitForDFT && s.freqStart != s.freqStop) {
p.spectrumSettings.UseDFT = 1;
}
p.spectrumSettings.applyReceiverCorrection = 1;
Expand Down

0 comments on commit 2bbb879

Please sign in to comment.