Hi Carl,

I can't answer the question for you directly, but I can give you a way to
figure it out.

Use two vector source blocks to generate two different known streams. The
first stream vector would be [1,3,5,7,...], a list of odd numbers however
long you want to make it. Set the block to repeat this. The second vector
would be [0,2,4,6,...], a list of even numbers. Feed these two streams into
your Streams to Vector block and dump it to a file. Now inspect the file
and see how these two streams were merged together.

Hope that helps.

Rich

On Fri, Jun 5, 2015 at 12:11 PM, Carl Olsson <carlolsson...@gmail.com>
wrote:

> Hi all!
>
> I am recording data from two USRP:s and I want to put the data into one
> file sink.
> I think I could do it by using the Streams To Vector block and then
> changing the vector parameter in the file sink to 2.
>
> 1) How would I read that data in e.g. Matlab. Right now I am using the
> read_complex_binary function when I don't have a vector input. Is the
> format the same just that every second variable is from element 2 of the
> vector input?
>
> 2) There is also the Streams To Stream block. What would the difference be
> if I connected that block to the two USRP source blocks and then the output
> to a file sink, would that be the same as in Q1?
>
> 3) Could I read myself to this information anywhere?
>
> Thank you very much!
>
> Best Regards,
>
> Carl
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to