[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Log raw data from the usrp_spectrum_sense.py

From: Leo Yang
Subject: [Discuss-gnuradio] Log raw data from the usrp_spectrum_sense.py
Date: Mon, 1 Dec 2014 07:49:42 -0700 (MST)

I'm using the usrp_spectrum_sense.py to get the raw data for the wide band
spectrum for FFT in the FPGA . The thing confused me is what the raw data
is. Is that the complex signal before fft ? 
As  m.raw_data is a string that contains the binary floats, when i try to
log it in a txt file, it outputs Garbled text, and it seems only take few
millisecond, and how to control the time to do the spectrum sensing btw.
here is the code for exporting the m.raw_data        
        text_file = open("Output.txt", "w")
        text_file.write("binary floats: %s" % m.raw_data)

Thanks a lot 

View this message in context: 
Sent from the GnuRadio mailing list archive at Nabble.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]