Multiply by Tag Value: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by one other user not shown) | |||
Line 11: | Line 11: | ||
== Example Flowgraph == | == Example Flowgraph == | ||
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 == | ||
; C++ files | ; C++ files | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/multiply_by_tag_value_cc_impl.cc multiply_by_tag_value_cc_impl.cc] | ||
; Header files | ; Header files | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/multiply_by_tag_value_cc_impl.h multiply_by_tag_value_cc_impl.h] | ||
; Public header files | ; Public header files | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/include/gnuradio/blocks/multiply_by_tag_value_cc.h multiply_by_tag_value_cc.h] | ||
; Block definition | ; Block definition | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/grc/blocks_multiply_by_tag_value_cc.block.yml blocks_multiply_by_tag_value_cc.block.yml] |
Latest revision as of 11:38, 31 January 2022
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]
Source Files
- C++ files
- multiply_by_tag_value_cc_impl.cc
- Header files
- multiply_by_tag_value_cc_impl.h
- Public header files
- multiply_by_tag_value_cc.h
- Block definition
- blocks_multiply_by_tag_value_cc.block.yml