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[edit]

(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[edit]

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[edit]

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]