[Discuss-gnuradio] Can I use uhd_fft or gnu-radio to display the spectrum with adjustable frequency resolution

2014-06-03 Thread LD Zhang
I am trying to use the uhd_fft or gnu-radio scope in a way that it can show
a real-time spectrum but with adjustable resolution. The uhd_fft spectrum
resolution appears to be fixed and not changeable. The gnu-radio scope block
only puts out time series but not real-time spectrum. What is my way out of
this situation?

 

Thanks,

 

LD

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Can I use uhd_fft or gnu-radio to display the spectrum with adjustable frequency resolution

2014-06-03 Thread Marcus Müller

Hi LD,

you're right the QT GUI sink does not seem to care about changing FFT sizes.
I remember the set_fft_size function being implemented, I think it's mainly a 
matter of having a callback defined for changes of the fft size parameter.
As I'm not too familiar with that, my mileage when playing with the QT sinks 
may vary.
Could you try adding
  callbackset_frequency_range($fc, $bw)/callback
to gr-qtqui/grc/qtgui_freq_sink_x.xml where the other callbacks are defined and 
try if it works for you?

Greetings,
Marcus


On 06/04/2014 12:47 AM, LD Zhang wrote:


I am trying to use the uhd_fft or gnu-radio scope in a way that it can show a 
real-time spectrum but with adjustable resolution. The uhd_fft spectrum 
resolution appears to be fixed and not changeable. The gnu-radio scope block 
only puts out time series but not real-time spectrum. What is my way out of 
this situation?

Thanks,

LD



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Can I use uhd_fft or gnu-radio to display the spectrum with adjustable frequency resolution

2014-06-03 Thread Marcus Müller
Hi!
On 04.06.2014 01:05, Marcus Müller wrote:

   callbackset_frequency_range($fc, $bw)/callback
 to gr-qtqui/grc/qtgui_freq_sink_x.xml where the other callbacks are
 defined and try if it works for you?
Sorry, copied the wrong line.
What I wanted to paste was:
  callbackset_fft_size($fftsize)/callback

Greetings,
Marcus


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio