Thursday, May 26, 2011

Re: [Discuss-gnuradio] Store data with usrp_spectrum_sense.py

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 the 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 <mikysanz@hotmail.com> wrote:
Hi everyone,
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 programming)
Thanks in advance for your help

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




--
http://users.wpi.edu/~dkelly/

No comments:

Post a Comment