Hello All,

I am using the Python example program "usrp2_siggen_gui.py" and wanted to
save the transmitted data to a file. I added the following lines:

        self.u = usrp2.source_32fc(self.tb.interface_name(),
self.tb.mac_addr())
        self._sink = gr.file_sink(gr.sizeof_gr_complex, 'test.txt')
        self.tb.connect(self.u, self._sink)

The addition of the above lines cause what appears to be random data
(noise?) transmitted to my spectrum analyzer. 

What is the correct way to record what is being transmitted? And does
anybody know why there isn't a Python program that transmits a recorded
file? I can record to a file and view it nicely in Matlab. I can transmit a
signal and view it on my spectrum analyzer nicely. But I cannot seem to
record and play back a file. 


Thanks for answering my questions!


Hafeez

-- 
View this message in context: 
http://www.nabble.com/Saving-transmitted-data-from-USRP2-to-a-file-tp23972786p23972786.html
Sent from the GnuRadio mailing list archive at Nabble.com.



_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to