[Top][All Lists]

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

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

From: Saleem Akhtar
Subject: Re: [Discuss-gnuradio] GRC:Suitable Sink required
Date: Sun, 19 Apr 2009 23:34:58 -0700 (PDT)

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 Blum <address@hidden> wrote:

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, 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 python).


-----Inline Attachment Follows-----

Discuss-gnuradio mailing list

reply via email to

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