Null Source: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
== Example Flowgraph ==
== 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.
When a flowgraph has no hardware devices, a Throttle is needed to limit the CPU utilization. Since the "main" data flow is via messages, the Throttle is fed with a Null Source. This file can be found at [https://github.com/gnuradio/gnuradio/blob/master/gr-qtgui/examples/test_digitalnumcontrol.grc]
 
[[File:Test_dignum_fg.png]]


== Source Files ==
== Source Files ==

Revision as of 17:06, 29 November 2020

A source of zeros used mainly for testing. If you really want a constant source of zeros, try using the Constant Source block.

Parameters

None

Example Flowgraph

When a flowgraph has no hardware devices, a Throttle is needed to limit the CPU utilization. Since the "main" data flow is via messages, the Throttle is fed with a Null Source. This file can be found at [1]

Test dignum fg.png

Source Files

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