Head

From GNU Radio
Revision as of 22:21, 12 March 2019 by 777arc (talk | contribs)
Jump to navigation Jump to search

Copies the first N items to the output then signals done. Very useful for limiting how many samples get saved to a file when using the File Sink.

If the flowgraph options are set to "No GUI" and "Run until completion", then as long as there is only one branch in the flowgraph, this block will cause the flowgraph to finish when N samples are reached.