discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Saving transmitted data from USRP2 to a file


From: hjaffer
Subject: [Discuss-gnuradio] Saving transmitted data from USRP2 to a file
Date: Wed, 10 Jun 2009 16:09:53 -0700 (PDT)

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.





reply via email to

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