Multiply Const: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
(add Example Flowgraph)
Line 14: Line 14:
== Example Flowgraph ==
== Example Flowgraph ==


Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI.  Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.
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.
 
[[File:Selector_demo.png|800px]]


== Source Files ==
== Source Files ==

Revision as of 11:43, 23 October 2019

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.

Parameters

(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
TODO
Header files
TODO
Public header files
TODO
Block definition
TODO