# A silly question about the sream to vector block

**URL:** <https://www.ruby-forum.com/t/a-silly-question-about-the-sream-to-vector-block/241188>\
**Category:** GNU Radio\
**Created:** [May 16, 2014, 5:24pm UTC](https://www.ruby-forum.com/t/a-silly-question-about-the-sream-to-vector-block/241188 "2014-05-16T17:24:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [May 16, 2014, 5:24pm UTC](https://www.ruby-forum.com/t/a-silly-question-about-the-sream-to-vector-block/241188/1 "2014-05-16T17:24:20Z")

</div>

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/TutorialsCoreConcepts](http://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsCoreConcepts)),the  
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

---

<div class="post-metadata">

**Author:** ![Abouda\_Y](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@Abouda\_Y](https://www.ruby-forum.com/u/Abouda_Y)\
**Post date:** [May 16, 2014, 6:22pm UTC](https://www.ruby-forum.com/t/a-silly-question-about-the-sream-to-vector-block/241188/2 "2014-05-16T18:22:44Z")

</div>

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/master/apps/scanoo.com\_rx.grc](https://raw.githubusercontent.com/m0mik/scanoo/master/apps/scanoo.com_rx.grc)

Top level URL for the project is here:

> **[GitHub - m0mik/scanoo: This project no longer works so please try Ham2Mon -\>](https://github.com/m0mik/scanoo)**
>
> This project no longer works so please try Ham2Mon -\> - GitHub - m0mik/scanoo: This project no longer works so please try Ham2Mon -\>

Mike

–  
Mike J. M0MIK BSc MIET  
Ettus R. Technical Support  
Email: removed\_email\_address@domain.invalid  
Web: [http://ettus.com](http://ettus.com)

On Fri, May 16, 2014 at 4:23 PM, Abouda Y.
