Multiply Const

From GNU Radio
Revision as of 11:43, 23 October 2019 by Duggabe (talk | contribs) (add Example Flowgraph)
Jump to navigation Jump to search

Multiplies input stream by a constant.

output = input * constant scalar/vector (element-wise if vector)

See Fast Multiply Const for a more performant version of this block.


(R): Run-time adjustable

Constant (R)
Constant to multiply the input stream by

Example Flowgraph

This flowgraph uses three Multiply type blocks. The top Multiply Const Block and middle Multiply Block are driven by the GUI Chooser to act as a Transmit / Receive switch. The bottom Multiply Const Block is a Volume control, the 'constant' being the 'volume' parameter from the QT GUI Range block.

Note: The lower section is a working 2 meter NBFM receiver.

Selector demo.png

Source Files

C++ files
Header files
Public header files
Block definition