discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Dynamically changing input index of Selector bloc


From: Mike Jameson
Subject: Re: [Discuss-gnuradio] Dynamically changing input index of Selector block.
Date: Fri, 30 May 2014 15:20:48 +0100

FYI, the head block "copies the first N items to the output then signals done":

http://gnuradio.org/doc/doxygen/classgr_1_1blocks_1_1head.html

Instead of using the "Head" block, the "Keep M in N" block should do the trick.

Mike

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


On Fri, May 30, 2014 at 10:15 AM, Activecat <address@hidden> wrote:


On Fri, May 30, 2014 at 4:57 PM, dushyant.marathe <address@hidden> wrote:
Hi Activecat,

I used both "Head" and "Skip Head" blocks in parallel to separate out
multiplexed input stream.
The Head block correctly gives me first 240k elements  but, "Skip Head"
block doesn't give me any elements after skipping 240k elements. For your
reference I have attached image of my flow graph (Head_Skip_Head.jpg).

<http://gnuradio.4.n7.nabble.com/file/n48637/Head_Skip_Head.jpg>

Moreover when I used "Skip Head" block alone, it gives me correctly all the
elements after skipping 240k elements.

Why is it so ? I could not find out. Please give me some insight.


Try with "File Sink" first instead of "Wave File Sink", this may make a difference.


_______________________________________________
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]