discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] How to use stream_mux in C++


From: Robert Kraml
Subject: Re: [Discuss-gnuradio] How to use stream_mux in C++
Date: Wed, 06 Jul 2016 23:27:24 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:25.9) Gecko/20160412 FossaMail/25.2.1

Thanks for the pointer Martin. I would likely not have guessed that was what that block is used for. I was about to turn my attentions to the director block but I had read there were issues with switching that one.

I was able to figure out how to use that multiply_matrix block with its vector of vectors and it seems to be working fine!

-Bob

On 7/6/2016 5:45 PM, Martin Braun wrote:
That's not what lengths is meant for, it's meant for describing vector
lengths on the inputs, and they don't change in GNU Radio. For dynamic
selection, see the multiply_matrix block (it comes with examples in
gr-blocks).

Cheers,
M

On 07/06/2016 04:35 PM, Robert Kraml wrote:
I'm trying to use the stream_mux block in C++ to switch between a number
of streams.  I can instantiate it with an "lengths" vector of say { 1 ,
0 } to select the first and not the second channel but I don't see how
this is changed (say to { 0,1}) on the fly.  It is a const reference and
I don't see any other functions available to switch it once it is started.

-Bob


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio






reply via email to

[Prev in Thread] Current Thread [Next in Thread]