Add Const: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(add Example Flowgraph)
m (add clarification)
Line 6: Line 6:


; Constant (''R'')
; Constant (''R'')
: Description of parameter, provide any tips or recommended values.  Note that the name of the parameter above should match the param's label that shows up in grc (e.g. Sample Rate).
: The entered value must be of the same type as the input / output ports (i.e. complex, float, etc.).


== Example Flowgraph ==
== Example Flowgraph ==

Revision as of 14:55, 28 October 2019

Adds a constant value to each item that passes though. output[m] = input[m] + constant vector.

Parameters

(R): Run-time adjustable

Constant (R)
The entered value must be of the same type as the input / output ports (i.e. complex, float, etc.).

Example Flowgraph

This flowgraph shows the Add Const block adding a -1.0 to the stream.

Complex to Mag.png

Source Files

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