Re: [Discuss-gnuradio] USRP Spectrum Sensing - Power in dB or dBm??

2016-06-08 Thread Marcus Müller
Hi Ingen, On 08.06.2016 07:58, ingen wrote: > I'm a beginner working in Spectrum Sensing. I have been checking the > code given in the /usrp_spectrum_sense.py/ file in GNU Radio. > (https://github.com/gnuradio/gnuradio/blob/master/gr-uhd/examples/python/usrp_spectrum_sense.py) > > The power calcul

[Discuss-gnuradio] USRP Spectrum Sensing - Power in dB or dBm??

2016-06-08 Thread ingen
I'm a beginner working in Spectrum Sensing. I have been checking the code given in the /usrp_spectrum_sense.py/ file in GNU Radio. (https://github.com/gnuradio/gnuradio/blob/master/gr-uhd/examples/python/usrp_spectrum_sense.py) The power calculated (at line 303) is in dB as given below : /power_d

Re: [Discuss-gnuradio] USRP spectrum sensing

2014-11-12 Thread Leo Yang
Thanks very mush sir, the program now is working. -- View this message in context: http://gnuradio.4.n7.nabble.com/USRP-spectrum-sensing-tp51288p51300.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list D

Re: [Discuss-gnuradio] USRP spectrum sensing

2014-11-12 Thread Leo Yang
Thanks again, I found the problem where it comes, it seems in latest version, I did not import Blocks in the begin, hence the program seems can find stream_to_vector function ;) But a same error comes with fft_vcc which is included in fft,which has already imported http://gnuradio.org/doc/doxygen/

Re: [Discuss-gnuradio] USRP spectrum sensing

2014-11-12 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://github.com/gnuradio/gnuradio Information like that can always be found on the GNU Radio project website, http://gnuradio.org. On 11/12/2014 04:33 PM, Leo Yang wrote: > When i search the usrp spectrum sensing stuff, this source code is > first

Re: [Discuss-gnuradio] USRP spectrum sensing

2014-11-12 Thread Leo Yang
When i search the usrp spectrum sensing stuff, this source code is first comes out, and there is some relative explanation of this program, and I just met gnuradio few weeks ago. btw, where to find the current version file of gnuradio -- View this message in context: http://gnuradio.4.n7.nabb

Re: [Discuss-gnuradio] USRP spectrum sensing

2014-11-12 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Don't worry, the things you'll have to change to make your code work with current GNU Radio aren't so big, but I think you will notice yourself when reading the current version of the file. However, I'd wonder how you ended up with a link to a version

Re: [Discuss-gnuradio] USRP spectrum sensing

2014-11-12 Thread Leo Yang
I do have modified the code, and I made this program based on the tutorial video in Youtube https://www.youtube.com/watch?v=DiVvnMJsVBg which seems like two years ago stuff. I'm not sure whether it fit the latest version of gnuradio. I just found there are some head file difference and flow_graph-

Re: [Discuss-gnuradio] USRP spectrum sensing

2014-11-12 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As you can see, yes, it does really matter... that specific commit is *seven* years old... Why would you want to use that old version of the file? On 11/12/2014 03:39 PM, Leo Yang wrote: > Thanks a lot for ur replay first, i got the source code from >

Re: [Discuss-gnuradio] USRP spectrum sensing

2014-11-12 Thread Leo Yang
Thanks a lot for ur replay first, i got the source code from http://gnuradio.org/redmine/projects/gnuradio/repository/revisions/9880e7bb383054aa43681b52ebd33c8fd4cb8fcb/entry/gnuradio-examples/python/usrp/usrp_spectrum_sense.py and a bit modified has been made. u said "get it somewhere", u mean

Re: [Discuss-gnuradio] USRP spectrum sensing

2014-11-12 Thread Marcus Müller
That confuses me, too ;) Is this the usrp_spectrum_sense.py from your own installed GNU Radio or did you get it somewhere else? Greetings, Marcus On 11/12/2014 03:02 PM, Leo Yang wrote: > But when i run the other programs which include stream_to_vector function, > they all works well, it quiet c

Re: [Discuss-gnuradio] USRP spectrum sensing

2014-11-12 Thread Leo Yang
But when i run the other programs which include stream_to_vector function, they all works well, it quiet confused me -- View this message in context: http://gnuradio.4.n7.nabble.com/USRP-spectrum-sensing-tp51288p51290.html Sent from the GnuRadio mailing list archive at Nabble.com.

Re: [Discuss-gnuradio] USRP spectrum sensing

2014-11-12 Thread Marcus Müller
stream to vector is a block that comes with GNU Radio. If python can't find that, you have not installed GNU Radio correctly. Best regards, Marcus On 11/12/2014 02:51 PM, Leo Yang wrote: > When I implement the source code " usrp_spectrum_sense.py", the program can > be compile but when I enter th

[Discuss-gnuradio] USRP spectrum sensing

2014-11-12 Thread Leo Yang
When I implement the source code " usrp_spectrum_sense.py", the program can be compile but when I enter the start, end frequency and fft size it comes with a error:‘module’ object has no attribute ’stream_to_vector. Has anyone meet this error before. and I found some solution : rename the project f

Re: [Discuss-gnuradio] usrp spectrum sensing

2013-02-08 Thread Josh Blum
On 02/08/2013 07:26 PM, Biniyam Zewede wrote: > > > Hello everyone, I am trying to sense a transmitted signal using a > usrp. I typed the following command (/usrp_spectrum_sense.py 440M > 450M --fft 512) and worked a couple of times. But when I try it > today, it tells me that there is no devic

[Discuss-gnuradio] usrp spectrum sensing

2013-02-08 Thread Biniyam Zewede
Hello everyone,     I am trying to sense a transmitted signal using a usrp. I typed the following command (/usrp_spectrum_sense.py 440M 450M --fft 512) and worked a couple of times. But when I try it today, it tells me that there is no device. (even though I connected a usrp). part of the mess