Char To Float: Difference between revisions
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
== Source Files == | == Source Files == | ||
; C++ | ; C++ files | ||
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/char_to_float_impl.cc char_to_float_impl.cc] | : [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/char_to_float_impl.cc char_to_float_impl.cc] | ||
Latest revision as of 10:35, 5 August 2022
Convert stream of chars to a stream of float and applies a scaling factor (set to 1 by default).
Parameters
(R): Run-time adjustable
- Scale (R)
- Scaling factor applied to input stream.
Example Flowgraph
This flowgraph compares this block with the Char To Short which multiplies by 256 by default. Note that the signal source is generating random numbers between 0 and 128.
Source Files
- C++ files
- char_to_float_impl.cc
- Header files
- char_to_float_impl.h
- Public header files
- char_to_float.h
- Block definition
- blocks_char_to_float.block.yml