Forum: GNU Radio Re: GRC:Suitable Sink required

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
D27693ca4163f9da8528c5c42f325574?d=identicon&s=25 Saleem Akhtar (Guest)
on 2009-04-20 06:11
(Received via mailing list)
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.


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

You should probably start by looking at the existing wx gui sinks, copy
and modify one:

The vector sink is not what you want here.

4252201ac30d6dd44d8090ce1070e35f?d=identicon&s=25 Josh Blum (Guest)
on 2009-04-20 06:38
(Received via mailing list)
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).

This topic is locked and can not be replied to.