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.
Try
http://gnuradio.org/trac/browser/gnuradio/trunk/gr-wxgui/src/python/fftsink_gl.py
-Josh
Saleem Akhtar wrote:
Hi,
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?
Thanks
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio