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.
Saleem A. (Guest)
on 2009-04-20 10:36
(Received via mailing list)
It appears that gr.message_sink and gr.msg_queues are for digital data.
but my flowgraph (periodogram) is for analog samples,

complex baseband samples from usrp --> stream to vector (vectors of
fft_size) --> FFT
 --> complex to mag squared  --> (sink or block to be determined)

Is their no choice other than file sink?



--- On Mon, 4/20/09, Josh B. <removed_email_address@domain.invalid> wrote:

From: Josh B. <removed_email_address@domain.invalid>
Subject: Re: [Discuss-gnuradio] GRC:Suitable Sink required
To: "Saleem A." <removed_email_address@domain.invalid>
Cc: removed_email_address@domain.invalid
Date: Monday, April 20, 2009, 4:37 AM

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


-----Inline Attachment Follows-----
Josh B. (Guest)
on 2009-04-20 11:05
(Received via mailing list)
If you want to extract samples from a gnuradio data stream and process
them in python, you should make a hierarchical block with a message sink
inside. The wxgui blocks are all great examples for this.


This topic is locked and can not be replied to.