Skip Head: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(add Example Flowgraph) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Block Docs]] | [[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. | |||
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 == | == Parameters == | ||
; Num Items | |||
: Number of items/samples to skip at the beginning. | |||
; | |||
: | |||
== Example Flowgraph == | == 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 == | == Source Files == | ||
; C++ files | ; C++ files | ||
: [https://github.com/gnuradio/gnuradio | : [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 | : [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 | : [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 | : [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
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