[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] how vector sink/source work?
From: |
mehdimolu |
Subject: |
[Discuss-gnuradio] how vector sink/source work? |
Date: |
Tue, 17 Jun 2008 02:52:32 -0700 (PDT) |
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()
print sink_data
but what is printed is : ()
kindly tell me how can I see data of sink.
Regards,
Mehdi
--
View this message in context:
http://www.nabble.com/how-vector-sink-source-work--tp17881603p17881603.html
Sent from the GnuRadio mailing list archive at Nabble.com.
- [Discuss-gnuradio] how vector sink/source work?,
mehdimolu <=