Null Source: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(Created page with "A source of zeros used mainly for testing. If you really want a constant source of zeros, try using the Constant Source block.")
 
(Clarified the difference between null source and constant source)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
A source of zeros used mainly for testing.  If you really want a constant source of zeros, try using the [[Constant Source]] block.
[[Category:Block Docs]]
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 [https://github.com/gnuradio/gnuradio/blob/master/gr-qtgui/examples/test_digitalnumcontrol.grc]
 
[[File:Test_dignum_fg.png]]
 
== 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]

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