Thank you very much You are must be a genius 2010/11/25 Josh Blum <j...@joshknows.com>
> There is a block called keep one in n. Is that what you are looking for? > > http://gnuradio.org/doc/doxygen/classgr__keep__one__in__n.html > > -Josh > > > On 11/24/2010 11:39 PM, Songsong Gee wrote: > >> I know there is a block 'Skip Head' >> >> When I use it, however, I don't think that it works as I expected >> I expected that like this: >> >> Suppose a sequence 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 >> 0 >> 0 0 1 0 0 0 0 0 0 0 >> (one 1, seven 0's and repeat forever) >> I want to take just '1' for EVERY time >> So I place and connect 'Skip Head' block and set 'Num items' 7, which >> means >> it skips first 7 items. >> >> In fact, as my guess and experiment, it just skips the very first 7 items! >> In short, I have 800 items and use 'Skip Head' with 7 skips, >> it passes 793 items. I expected 100 items! (800 / (7 + 1)) >> >> >> >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio