I am new in GNUradio and I want to sense the spectrum of Wifi from 2.4G
to 2.5 G with a USRP.
I have been reading through a lot of discussions in the forum but I have
not been able to store any data using usrp_spectrum_sense.py. I want to
analyze this data with matlab, but I dont get any suitable file after
running spectrum sense. I know that I have to modify the script, but I
dont know how. I am quite bad at programming, so I would appreciate so
much a way to find the solution(it must be very easy, but I am usless in
Thanks in advance for your help
maybe you can try to catch them into a file, you know, write python
like f.open() and f.write(), that stuff. You can google it for its
Hope this helps.
On Sun, May 22, 2011 at 2:04 AM, Miguel Angel Sanz Rodriguez <
On Sat, May 21, 2011 at 7:04 PM, Miguel Angel Sanz Rodriguez <
[email protected]> wrote:
Have a look at usrp_rx_cfile.py. This saves the data from the USRP
to a file. You can then mix this and the usrp_spectrum_sense.py to
get what you want.
I did a project similar to this. Look at this structure
m = parse_msg(tb.msgq.delete_head())
There is a field called data (I think) that contains the magnitude of
sweep. You record m.data to a file (like a csv, hdf5, or binary file).
Keep in mind that you have to do the equivalent of fftshift.
Hope that helps.
On Sat, May 21, 2011 at 2:04 PM, Miguel Angel Sanz Rodriguez <