Throttle: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
Throttle flow of samples such that the average rate does not exceed samples_per_sec
Throttle flow of samples such that the average rate does not exceed the specific rate (in samples per second).


This should only be used in GUI apps where there is no other rate limiting block. 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.
A throttle block should be used if and only if your flowgraph includes no rate limiting block (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 source block (e.g. [[Signal Source]]).
The Throttle Block is typically attached directly to the output of a source block (e.g. [[Signal Source]]).

Revision as of 18:34, 14 May 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 (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 source block (e.g. Signal Source).

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