Difference between revisions of "Null Source"

From GNU Radio
Jump to: navigation, search
(Example Flowgraph)
 
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 ==

Latest 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[edit]

None

Example Flowgraph[edit]

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[edit]

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