Skip Head: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
[[Category:Stub 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.  
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.
 
 
As this is a basic template, it's also in the [[:Category:Stub_Docs|"Stub Docs category"]]. Please improve it.


== Parameters ==
== Parameters ==
(''R''): <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span>
; Num Items
 
: Number of items/samples to skip at the beginning.  
; Param 1 (''R'')
: Description of parameter, provide any tips or recommended values.  Note that the name of the parameter above should match the param's label that shows up in grc (e.g. Sample Rate).
 
; Param 2
: blah blah blah


== Example Flowgraph ==
== Example Flowgraph ==
Line 22: Line 13:


; C++ files
; C++ files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/skiphead_impl.cc skiphead_impl.cc]


; Header files
; Header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/skiphead_impl.h skiphead_impl.h]


; Public header files
; Public header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/include/gnuradio/blocks/skiphead.h skiphead.h]


; Block definition
; Block definition
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/grc/blocks_skiphead.block.yml blocks_skiphead.block.yml]

Latest revision as of 09:58, 24 February 2022

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

Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.

Source Files

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