Difference between revisions of "Multiply by Tag Value"

From GNU Radio
Jump to navigation Jump to search
(add example flowgraph)
Line 11: Line 11:
== 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 can be found at [https://github.com/gnuradio/gnuradio/blob/master/gr-digital/examples/packet/packet_rx.grc]

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

Latest revision as of 01:01, 7 April 2021

output = input * complex constant

The complex constant used by this block is found from a tag with the specified name. The tag must contain a float/double or complex PMT value that will be converted into a gr_complex value. All input data is multiplied by this value until a new tag with an update value is found. The block starts with a value of '1.0' for the multiplier constant.


Tag name
Tag's key that it will use to get the multiplicative constant.

Example Flowgraph[edit]

This flowgraph can be found at [1]

Packet rx fg.png

Source Files[edit]

C++ files
Header files
Public header files
Block definition