Null Source: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
(Clarified the difference between null source and constant source)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
A source of zeros used mainly for testing.  If you really want a constant source of zeros, try using the [[Constant Source]] block.
A source of zeros, used mainly for testing.  If you want a source of constant values other than zero, try using the [[Constant Source]] block.


== Parameters ==
== Parameters ==
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:29, 19 July 2022

A source of zeros, used mainly for testing. If you want a source of constant values other than zero, 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