Forum: GNU Radio How to view data samples when running fm radio

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
70db0f98cfed40a2c056afb49aaad581?d=identicon&s=25 Zainab Qureshi (zainab-qureshi)
on 2009-05-26 10:55
(Received via mailing list)
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.
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2009-05-27 03:41
(Received via mailing list)
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.
70db0f98cfed40a2c056afb49aaad581?d=identicon&s=25 Zainab Qureshi (zainab-qureshi)
on 2009-05-27 10:07
(Received via mailing list)
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 <eb@comsec.com> 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
5b956b6b52e6bd83ad6da9815f4442a4?d=identicon&s=25 Mir M. Ali (Guest)
on 2009-05-27 10:16
(Received via mailing list)
s=*gr*.*file_sink*(*gr*.sizeof_gr_complex, "file.txt")
and then connect usrp.source to this object s.
This topic is locked and can not be replied to.