discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GRC:Suitable Sink required


From: Josh Blum
Subject: Re: [Discuss-gnuradio] GRC:Suitable Sink required
Date: Sun, 19 Apr 2009 21:37:31 -0700
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

You can use a file sink to write the samples out to a file, and write some program to process the file.

Or, you need to create your own block in c++ or python. If c++, the "how to write a block example" is a good reference. If python, the wxgui sinks are a good reference (see gr.message_sink and gr.msg_queues to get data out of the stream and into python).

-Josh

Saleem Akhtar wrote:
Thanks, but i dont want to use GUI sink. I want to get an array of samples 
which represent the periodogram. So that i can do further processing on them.

Regards


From: Josh Blum <address@hidden>
Subject: Re: [Discuss-gnuradio] GRC:Suitable Sink required
To: "Saleem Akhtar" <address@hidden>
Cc: address@hidden
Date: Monday, April 20, 2009, 3:55 AM

You should probably start by looking at the existing wx gui sinks, copy and 
modify one: http://gnuradio.org/trac/browser/gnuradio/trunk/gr-wxgui/src/python

The vector sink is not what you want here.

-Josh







------------------------------------------------------------------------

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




reply via email to

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