IChar To Complex: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:Block Docs Category:Stub Docs This is the template for the "Page-per-block Docs". This first section should describe what the block...") |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Block Docs]] | [[Category:Block Docs]] | ||
Convert stream of interleaved chars to a stream of complex. | |||
See [[Complex To IChar]] for the creation of such a stream. | |||
== Parameters == | == Parameters == | ||
; | ; Vector input | ||
: | : Yes or No. Use vector input instead of interleaved samples for the I and Q channels. If vector input is chosen, then the input must be of type short. (The input does not change color but the output of the block at input must be in short.) | ||
== Example Flowgraph == | |||
The following flowgraph takes an input from a vector source (short type) and converts it into complex data. | |||
[[File:IcharTocomplex.PNG]] | |||
It has the following output. | |||
[[File:IcharTocomplexOutput.PNG]] | |||
== Source Files == | == Source Files == | ||
; C++ | ; C++ files | ||
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/interleaved_char_to_complex_impl.h interleaved_char_to_complex_impl.h] | |||
: [https://github.com/gnuradio/gnuradio | |||
; Header files | ; Header files | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/interleaved_char_to_complex_impl.cc interleaved_char_to_complex_impl.cc] | ||
; Public header files | ; Public header files | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/include/gnuradio/blocks/interleaved_char_to_complex.h interleaved_char_to_complex.h] | ||
; Block definition | ; Block definition | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/grc/blocks_interleaved_char_to_complex.block.yml blocks_interleaved_char_to_complex.block.yml] |
Latest revision as of 10:47, 11 February 2022
Convert stream of interleaved chars to a stream of complex.
See Complex To IChar for the creation of such a stream.
Parameters
- Vector input
- Yes or No. Use vector input instead of interleaved samples for the I and Q channels. If vector input is chosen, then the input must be of type short. (The input does not change color but the output of the block at input must be in short.)
Example Flowgraph
The following flowgraph takes an input from a vector source (short type) and converts it into complex data.
It has the following output.
Source Files
- C++ files
- interleaved_char_to_complex_impl.h
- Header files
- interleaved_char_to_complex_impl.cc
- Public header files
- interleaved_char_to_complex.h
- Block definition
- blocks_interleaved_char_to_complex.block.yml