Multiply by Tag Value: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
(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]
 
[[File:Packet_rx_fg.png|800px]]


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

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.

Parameters

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

Example Flowgraph

This flowgraph can be found at [1]

Packet rx fg.png

Source Files

C++ files
TODO
Header files
TODO
Public header files
TODO
Block definition
TODO