On Thu, Jul 16, 2009 at 04:08:40PM +0200, Yc Park wrote: > Hi all, > > Recently I started to build a spectrum analyzer with some extra > functions such as channel power measurements and spectrum mask > check.(so, fft_sink is not a good solution for this.) > > To do so, my plan is this: > 1. get fft data vector of given size(2048) from usrp2 (data refresh rate > ~= 5 bins/sec) > 2. process the data vector with scipy functions > 3. display it with matplotlib module > > But at this time I'm stuck at step2: how can get fft vector so that I > can proccess it with scipy module? > Connect() seems to connect blocks, not give out the data vector. > > Or the vector_sink.data is not a good choice since I do not have control > over the data size.
Try a gr.message_sink like is done in fftsink_*.py Eric _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
