Skip Head: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(Created page with "Skips the first N items, from then on copies items to the output. Useful for building test cases and sources which have metadata or junk at the start.")
 
(add Example Flowgraph)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Skips the first N items, from then on copies items to the output.  Useful for building test cases and sources which have metadata or junk at the start.
[[Category:Block Docs]]
Skips the first N items, from then on copies items to the output.  Useful for building test cases and sources which have metadata or junk at the start.  
 
== Parameters ==
; Num Items
: Number of items/samples to skip at the beginning.
 
== Example Flowgraph ==
[[File:Vector_sink_nongui.png]]
 
[[File:Vector_sink_nongui_console.png]]
 
<p>This flowgraph can be downloaded from [[Media:Vector_sink_nongui.grc]].</p>
== Source Files ==
 
; C++ files
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/skiphead_impl.cc skiphead_impl.cc]
 
; Header files
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/skiphead_impl.h skiphead_impl.h]
 
; Public header files
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/include/gnuradio/blocks/skiphead.h skiphead.h]
 
; Block definition
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/grc/blocks_skiphead.block.yml blocks_skiphead.block.yml]

Latest revision as of 15:27, 21 May 2025

Skips the first N items, from then on copies items to the output. Useful for building test cases and sources which have metadata or junk at the start.

Parameters

Num Items
Number of items/samples to skip at the beginning.

Example Flowgraph

Vector sink nongui.png

Vector sink nongui console.png

This flowgraph can be downloaded from Media:Vector_sink_nongui.grc.

Source Files

C++ files
skiphead_impl.cc
Header files
skiphead_impl.h
Public header files
skiphead.h
Block definition
blocks_skiphead.block.yml