Re: [Discuss-gnuradio] how vector sink/source work?

2008-06-17 Thread Eric Blossom
On Tue, Jun 17, 2008 at 02:52:32AM -0700, mehdimolu wrote: > > hi, > I have data below > src_data = (0,1,1,0,1,0,1,0,1,1,10) > and I put them in a vector by using > src = gr.vector_source_b (src_data,False) . > I want to put this vector in vector sink and read data in sink, I use > commands bel

Re: [Discuss-gnuradio] how vector sink/source work?

2008-06-17 Thread Andreas Müller
Hello Mehdi looks to me like you forgot to run() your application: > src_data = (0,1,1,0,1,0,1,0,1,1,10) > src = gr.vector_source_b (src_data,False) . > sink = gr.vector_sink_b() > fg.connect(src,sink) fg.run() > sink_data = sink.data() > print sink_data Regards, Andreas signature.asc Desc

[Discuss-gnuradio] how vector sink/source work?

2008-06-17 Thread mehdimolu
hi, I have data below src_data = (0,1,1,0,1,0,1,0,1,1,10) and I put them in a vector by using src = gr.vector_source_b (src_data,False) . I want to put this vector in vector sink and read data in sink, I use commands below sink = gr.vector_sink_b() fg.connect(src,sink) sink_data = sink.data() p