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] how to Sense the spectrum bycomparing calculated energy with threshold

2013-04-09 Thread Jincheng Zhang
power > threshold and the second is time threshold, which means that in order to be > detected, burst must have appropriate power and duration. This explains > nothing, but maybe you will get some ideas. > > Best > > > On Mon, Apr 8, 2013 at 5:16 PM, Jincheng Zhang wrote: >

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

[Discuss-gnuradio] how to Sense the spectrum bycomparing calculated energy with threshold

2013-04-08 Thread Jincheng Zhang
Hi, Omer, That's exactly what I want to do. But I use the usrp_spectrum_sense.py to get each channel's power and then compare with the threshold. Maybe you should try the usrp_spectrum_sense.py. ___ Discuss-gnuradio mailing list Discuss-gnuradio@g

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

2013-04-07 Thread Jincheng Zhang
emain unchanged at '0.75 * usrp_rate' in the > script to make sure signals at the edge of the incoming front-end signal > bandwidth (25MHz) are not missed. > > > Mike > > -- > Mike Jameson M0MIK BSc > Email: m...@scanoo.com > Web: http://scanoo.com > > &g

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

2013-04-07 Thread Jincheng Zhang
> > -- > Mike Jameson M0MIK BSc > Email: m...@scanoo.com > Web: http://scanoo.com > > > On 7 April 2013 16:23, Jincheng Zhang wrote: > >> I want to use usrp_spectrum_sense.py to sweep the Hong Kong TV band which >> ranges from 470MHz to 806MHz and get every chan

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

2013-04-07 Thread Jincheng Zhang
the decimation be 8M), freq_step is 8MHz. Anyone has any ideas about how to use usrp_spectrum_sense.py to calculate each channel's power? On Sun, Apr 7, 2013 at 8:24 PM, Jincheng Zhang wrote: > Hi, all, > >I use the usrp_spectrum_sense.py to sweep the TV band from 470MHz to >

Re: [Discuss-gnuradio] Fwd: Building rtl-sdr...gr-osmosdr build apparently failed(Ubuntu 11.10)

2013-04-07 Thread Jincheng Zhang
Hi, Marcus, Thanks for your reply. Then how should I upgrade the version of Boost? It seems that the Boost version cannot be upgraded in Ubuntu. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/dis

Re: [Discuss-gnuradio] Fwd: Building rtl-sdr...gr-osmosdr build apparently failed(Ubuntu 11.10)

2013-04-07 Thread Jincheng Zhang
Hi, Sid, I run the command "cmake" with -DENABLE_BAD_BOOST=True. It seems that the problem has been solved. But I didn't upgrade the version of Boost. Must I upgrade the version of Boost? Thanks. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu

[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

Re: [Discuss-gnuradio] Fwd: Building rtl-sdr...gr-osmosdr build apparently failed(Ubuntu 11.10)

2013-04-07 Thread Jincheng Zhang
t do > it myself right now). > > Tom > > Sent from my iPhone > > On Apr 7, 2013, at 6:03 AM, Jincheng Zhang wrote: > > Hi, Ralph, > > >When I enter the gnuradio/build and run the command ”cmake ...”, an > warning “*Found a known bad version of Boost* (

Re: [Discuss-gnuradio] Fwd: Building rtl-sdr...gr-osmosdr build apparently failed(Ubuntu 11.10)

2013-04-07 Thread Jincheng Zhang
Hi, Ralph, When I enter the gnuradio/build and run the command ”cmake ...”, an warning “*Found a known bad version of Boost* (v104601). Disabling” occurred. I’m not sure whether this warning will affect the fllowing commad “make”. ___ Dis

[Discuss-gnuradio] Fwd: Building rtl-sdr...gr-osmosdr build apparently failed(Ubuntu 11.10)

2013-04-07 Thread Jincheng Zhang
Hi, Ralph, When I enter the gnuradio/build and run the command "cmake ...", an warning "Found a known bad version of Boost (v104601). Disabling" occurred. I'm not sure whether this warning will affect the fllowing commad "make". ___ Discuss-

[Discuss-gnuradio] Fwd: Building rtl-sdr...gr-osmosdr build apparently failed(Ubuntu 11.10)

2013-04-07 Thread Jincheng Zhang
n_target.dir/all] Error 2 make: *** [all] Error 2 make failed Exiting Gnu Radio build/install Do you have any ideas about how to solve it? Thanks. -- Forwarded message -- From: Jincheng Zhang Date: Sun, Apr 7, 2013 at 3:33 PM Subject: Re: [Discuss-gnuradio] Building rtl-sdr

Re: [Discuss-gnuradio] Building rtl-sdr...gr-osmosdr build apparently failed(Ubuntu 11.10)

2013-04-07 Thread Jincheng Zhang
> I am working behind a proxy, so it could not fetch rtl-sdr and gr-osmosdr > by the git protocol. > I had to tweak the script a little to get it working. > I'm not sure if you also are facing the same issue. > > > On Sun, Apr 7, 2013 at 11:46 AM, Jincheng Zhang wrote: >

Re: [Discuss-gnuradio] Fwd: Building rtl-sdr...gr-osmosdr build apparently failed(Ubuntu 11.10)

2013-04-07 Thread Jincheng Zhang
Hi Marcus, Thanks for your explanation. Then how should I solve this problem? Should I install gnuradio first and then install rtl-sdr and gr-osmosdr? Also, if the problem is what you said, then why don't other people encounter this problem? Could you tell me how to install gnuradi

[Discuss-gnuradio] Building rtl-sdr...gr-osmosdr build apparently failed(Ubuntu 11.10)

2013-04-06 Thread Jincheng Zhang
Hi all, I use build-gnuradio to install gnuradio and uhd. But the error meassgae "Building rtl-sdr...gr-osmosdr build apparently failed" occurred. Has anyone successfully installed gnuradio and uhd using build-gnuradio script? Hope you can help me. Thanks. _

[Discuss-gnuradio] Fwd: Building rtl-sdr...gr-osmosdr build apparently failed(Ubuntu 11.10)

2013-04-06 Thread Jincheng Zhang
rnatively, If I want to configure USRP2, how should I install gnuradio and uhd? I think the build-gnuradio script is the easiest, but I failed. Best regards, Jincheng Zhang ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.

Re: [Discuss-gnuradio] Fwd: AttributeError: 'module' object has no attribute 'stream_args'

2013-04-06 Thread Jincheng Zhang
Hi, Josh, The complete verbose is as follows: Traceback(most recent call last): File "./usrp_spectrum_sense.py", line 277, in tb = my_top_block() File "./usrp_spectrum_sense.py", line 144, in __init__ stream_args = uhd.stream_args('fc32') Attr

[Discuss-gnuradio] Fwd: AttributeError: 'module' object has no attribute 'stream_args'

2013-04-05 Thread Jincheng Zhang
Dear all, I have installed the latest version of uhd by running the script build-gnuradio. But when I run the python scirpt usrp_spectrum_sense.py, the error message occured. I'm using USRP2. Anyone has any ideas about this problem? Thanks a lot. -- Best regards, Jincheng Zhang Depar

[Discuss-gnuradio] Fwd: Building rtl-sdr...gr-osmosdr build apparently failed(Ubuntu 11.10)

2013-04-05 Thread Jincheng Zhang
-- Best regards, Jincheng Zhang http://personal.ie.cuhk.edu.hk/~zj012/ <http://www.jxqc.org/> ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio