Forum: GNU Radio a silly question about the sream to vector block

2f07524b9546a51450cbb2fb4a262dec?d=identicon&s=25 Abouda Yassine (Guest)
on 2014-05-16 17:24
(Received via mailing list)
Hi guys,

While i was trying to figure out what the stream to vector block does,I
understood that if I choose for example nitems=1024 and vector
length=1,I
get in the output 1024 vectors of 1 item each.And when I was reading
about
it
on this web page (
http://gnuradio.org/redmine/projects/gnuradio/wiki...
paragraph speaking about items tells exactly the opposite of what I
understood it means if nitems=1024 and vector length =1,i get in the
output
only one item which size is 1024 .I need clarification about this
subject
please!!!

best regards,
yassine
503e7c2961c7debe24eda2c31330759b?d=identicon&s=25 Mike Jameson (Guest)
on 2014-05-16 18:22
(Received via mailing list)
The 'Stream To Vector' block takes a stream of samples and makes a
vector
stream out of them.  This vector stream is just the samples from the
stream
put into parallel so that for each sample you are actually sending the
vector length per second as the sample rate.

The use of the 'Stream To Vector' is shown in my scanoo_rx application
which takes the vector output of the 'FFT block' and turns it into a
stream
for use with the 'M in N' block.

See here for the GRC file:

https://raw.githubusercontent.com/m0mik/scanoo/mas...

Top level URL for the project is here:

https://github.com/m0mik/scanoo

Mike

--
Mike Jameson M0MIK BSc MIET
Ettus Research Technical Support
Email: support@ettus.com
Web: http://ettus.com


On Fri, May 16, 2014 at 4:23 PM, Abouda Yassine
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.