On Thu, Nov 12, 2015 at 4:39 PM, Piotr Krysik <per...@o2.pl> wrote: > Hi all, > > I'm looking for a way to modify dynamically flow of samples in a flowgraph. > Making changes in between lock() and unlock() functions is not good > enough - a number of samples from sources like rtl-sdr are lost during > flowgraph reconfiguration. > > I had some hope that selector block (or some similar block based on the > same concept) can be used for the purpose of reconnecting part of a > flowgraph. However it uses lock() and unlock() so the effect is the same. > > Can something what I need (a selector or valve block but without use of > lock() ) be implemented or is it incompatible with GNU Radio design? > > One of the projects I need this for is live synchronization multiple > rtl-sdr devices inside of GNU Radio (I will make it public when it will > be done). Some of samples are captured to vector sinks for the purpose > of synchronization. After collecting a required number of samples these > sinks should be disconnected so they don't use the entire memory. I > can't do it however without loosing some sample and this way loosing > also synchronization. > > Best Regards, > Piotr >
Piotr, I've used the multiply_matrix block for controlling the connection of how M input streams are routed through N output streams. It takes a bit to get the parameters correct. Tom
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio