Re: [Discuss-gnuradio] Printing gr_vector_sink_f data

2010-09-22 Thread sirjanselot
So what you are saying is when I create an instance of the class, only the data and blocks are initialized and glued together, but the object didn't run yet. So source will never get to sink unless I use the run() method and then I can print the data. Let me know if this if I am correct. I d

Re: [Discuss-gnuradio] Printing gr_vector_sink_f data

2010-09-22 Thread Josh Blum
On 09/22/2010 12:01 PM, sirjanselot wrote: Hello, I tried to print what data gr_vector_sink_f contains in the following code: #!/usr/bin/env python import howto from gnuradio import gr, gru from gnuradio.gr import firdes from optparse import OptionParser from gnuradio import blks2 class ho

[Discuss-gnuradio] Printing gr_vector_sink_f data

2010-09-22 Thread sirjanselot
Hello, I tried to print what data gr_vector_sink_f contains in the following code: #!/usr/bin/env python import howto from gnuradio import gr, gru from gnuradio.gr import firdes from optparse import OptionParser from gnuradio import blks2 class howto_square (gr.top_block): def __init__