Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-11 Thread Jincheng Zhang
Anyone know how to deal with this case? I need your help. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-10 Thread Jincheng Zhang
Hi, all, Has anyone used usrp_spectrum_sense.py to sweep frequency band and get the channel's power? I need your help. When I use "self.connect(self.u, s2v, fft, c2mag, log, stats)", the FFT bin values I got are all zero. But if I use "self.connect(self.u, s2v, fft, c2mag, stats)", some FFT bin v

Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-09 Thread Jincheng Zhang
Hi, all, Has anyone used usrp_spectrum_sense.py to sweep frequency band and get the channel's power? I need your help. When I use "self.connect(self.u, s2v, fft, c2mag, log, stats)", the FFT bin values I got are all zero. But if I use "self.connect(self.u, s2v, fft, c2mag, stats)", some FFT bin v

Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-07 Thread Jincheng Zhang
The frequency band ranges from 470MHz to 806MHz, each channel's frequency band is 8MHz, so we have 42 channels in total. Channel 1,3,5,7 are analog channels, others are digital channels. I want to set the value of parameters in usrp_spectrum_sense.py as follows: fft-size: 2048 channel-bandwidth:8

[Discuss-gnuradio] 回复: Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-07 Thread perfume0...@gmail.com
s-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero. Hi, For your application, please experiment with the following command: ./usrp_spectrum_sense.py -A TX/RX --fft-size=25 --samp-rate=25e6 --gain=15 --dwell-delay=0.25 --tune-delay=0.25 --channel-bandwidth=8e6 470e6 800e6 Note that 'freq_step

Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-07 Thread Mike Jameson
Hi, For your application, please experiment with the following command: ./usrp_spectrum_sense.py -A TX/RX --fft-size=25 --samp-rate=25e6 --gain=15 --dwell-delay=0.25 --tune-delay=0.25 --channel-bandwidth=8e6 470e6 800e6 Note that 'freq_step' should remain unchanged at '0.75 * usrp_rate' in the s

Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-07 Thread Jincheng Zhang
Thanks Mike. I'm a little confused. The parameters are listed as follows: sample-rate: channel-bandwidth: freq_step: fft_size: You mean that I should set sample-rate be 25e6, channel-bandwidth be 8e6, freq_step be 8e6 and fft_size be 25? If we set the fft-size be 25, then which 8 bins I should s

Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-07 Thread Mike Jameson
Hi Jincheng, Try setting the UHD sample rate to 25e6 and the number of fft bins to 25 which will give you 1e6 Hz per bin. Adding up the magnitude of 8 bins (1MHz * 8 = 8MHz) will therefore give you the wanted channel power in decimal format (magnitude). In case you are confused, I recently updat

Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-07 Thread Jincheng Zhang
I want to use usrp_spectrum_sense.py to sweep the Hong Kong TV band which ranges from 470MHz to 806MHz and get every channel's power in dB. Each channel's frequency band is 8MHz. Now I'm using USRP2 with TVRX2 daughter board. I have installed the latest gnuraio and uhd. But when I use the usrp_spe

[Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-07 Thread Jincheng Zhang
Hi, all, I use the usrp_spectrum_sense.py to sweep the TV band from 470MHz to 806MHz. But when I use self.connect(self.u, s2v, fft, c2mag, log, stats), the FFT bin values I got are all zero. Also, what's the magnitude of FFT bin value? Thanks. -- Best regards, Jincheng Zhang ___