IChar To Complex: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
== Parameters == | == Parameters == | ||
; Vector input : Use vector input instead of interleaved samples for the I and Q channels. | ; 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 == | == 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++ files | ; 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