Probe Rate: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(Added the Name field)
(fix links)
 
Line 2: Line 2:
__NOTOC__
__NOTOC__
<span id="gr_vad"></span>
<span id="gr_vad"></span>
<hr>
Used to measure throughput (how many items/samples are flowing through per second).  Note that this block outputs a message, you will need to use a [[Message Debug]] to display the probe results in the console.   
Used to measure throughput (how many items/samples are flowing through per second).  Note that this block outputs a message, you will need to use a [[Message Debug]] to display the probe results in the console.   


Line 26: Line 25:


; C++ files
; C++ files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/probe_rate_impl.cc probe_rate_impl.cc]


; Header files
; Header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/probe_rate_impl.h probe_rate_impl.h]


; Public header files
; Public header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/include/gnuradio/blocks/probe_rate.h probe_rate.h]


; Block definition
; Block definition
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/grc/blocks_probe_rate.block.yml blocks_probe_rate.block.yml]

Latest revision as of 17:46, 29 November 2023


Used to measure throughput (how many items/samples are flowing through per second). Note that this block outputs a message, you will need to use a Message Debug to display the probe results in the console.

Parameters

Min Update Time (ms)
Minimum update time in milliseconds
Update Alpha
Gain for running average filter
Name
Specify for identification of the the Probe Rate block. Useful, for example, when printing the output of multiple Probe Rate blocks, e.g., with Message Debug

Example Flowgraph

In this flowgraph, the Probe Rate block is measuring the sample rate of the Audio Source block.

USRP NBFM xmt.png

Source Files

C++ files
probe_rate_impl.cc
Header files
probe_rate_impl.h
Public header files
probe_rate.h
Block definition
blocks_probe_rate.block.yml