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)
        text_file.close()

Thanks a lot 



--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Log-raw-data-from-the-usrp-spectrum-sense-py-tp51503.html
Sent from the GnuRadio mailing list archive at Nabble.com.

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

Reply via email to