Add Const

From GNU Radio
Jump to: navigation, search

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 and Multiply blocks to create an amplitude modulated signal.

Multiply block fg.png

Multiply Block out.png

Source Files

C++ files
Byte I/O
Complex I/O
Float I/O
Int I/O
Short I/O
Vector I/O
Header files
Byte I/O
Complex I/O
Float I/O
Int I/O
Short I/O
Vector I/O
Public header files
Byte I/O
Complex I/O
Float I/O
Int I/O
Short I/O
Vector I/O
Block definition
[1]