s=*gr*.*file_sink*(*gr*.sizeof_gr_complex, "file.txt") and then connect usrp.source to this object s.
On Wed, May 27, 2009 at 3:06 AM, Zainab Qureshi <[email protected]> wrote: > In usrp_wfm_rcv.py, there is a command self.u = usrp.source_c() > > Now how do we use the gr.file_sink() in this file? > > On 5/27/09, Eric Blossom <[email protected]> wrote: > > On Tue, May 26, 2009 at 01:53:40PM +0500, Zainab Qureshi wrote: > >> I have successfully run gnuradio on linux/windows. I am running the > >> example usrp_wfm_rcv.py. i want to look at few of the data samples > >> coming from the usb port. What changes in the code should i make to > >> view these data samples. > > > > Connect a gr.file_sink to the usrp, then look at the resulting data > > using octave or some other tool. > > > > > > > -- > z...@!n@b > > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio >
_______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
