Throttle: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


The Throttle Block is typically attached directly to the output of a non-hardware source block (e.g. [[Signal Source]]), in order to limit the rate at which that source block creates samples.   
The Throttle Block is typically attached directly to the output of a non-hardware source block (e.g. [[Signal Source]]), in order to limit the rate at which that source block creates samples.   
== Parameters ==
(''R''): <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span>
; 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 11: Line 20:


[[File:signal-source-ex.png|700px]]
[[File:signal-source-ex.png|700px]]
== Source Files ==
; C++ files
: [https://github.com/gnuradio/gnuradio TODO]
; Header files
: [https://github.com/gnuradio/gnuradio TODO]
; Public header files
: [https://github.com/gnuradio/gnuradio TODO]
; Block definition
: [https://github.com/gnuradio/gnuradio TODO]

Revision as of 10:51, 20 July 2019

Throttle flow of samples such that the average rate does not exceed the specific rate (in samples per second).

A throttle block should be used if and only if your flowgraph includes no rate limiting block, which is typically hardware (e.g., an SDR, speaker, microphone). It is not intended nor effective at precisely controlling the rate of samples. That should be controlled by a source or sink tied to sample clock. E.g., a USRP or audio card.

The Throttle Block is typically attached directly to the output of a non-hardware source block (e.g. Signal Source), in order to limit the rate at which that source block creates samples.

Parameters

(R): Run-time adjustable

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

In this example flowgraph, if you remove the Throttle block, the output will look the same, but your CPU will be at 100% and GNU Radio might crash.

Signal-source-ex.png

Source Files

C++ files
TODO
Header files
TODO
Public header files
TODO
Block definition
TODO