On Tue, Jul 5, 2011 at 7:50 PM, Marcus D. Leech <mle...@ripnet.com> wrote:

> What's the intended usage for a "Vector Sink"?  I have the output vector
> (after complex-to-mag, and IIR filtering) of an FFT, and I want to
>  pick out specfic subsets of bins, and do stuff with them.
>
>
> --
> Marcus Leech
> Principal Investigator
> Shirleys Bay Radio Astronomy Consortium
> http://www.sbrac.org


The vector sinks are not meant for "production" code, but for simple tests
scripts. If you need to continuously get data out of a flow graph, the best
approach is to use a message sink and have a thread that reads the message
queue until another message is posted, then you do what you want with the
returned data from there.

This is how we get data out of the digital modulation examples.

Tom
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to