Complex To IChar: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(add Example Flowgraph)
 
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
[[Category:Pages with no Example Flowgraph]]
Convert stream of complex to a stream of interleaved chars.  The output stream contains chars with twice as many output items as input items. For every complex input item, we produce two output chars that contain the real part and imaginary part converted to chars.
Convert stream of complex to a stream of interleaved chars.  The output stream contains chars with twice as many output items as input items. For every complex input item, we produce two output chars that contain the real part and imaginary part converted to chars.


Line 8: Line 7:


== Example Flowgraph ==
== Example Flowgraph ==
[[File:Type_conv_fg.png|798px]]
<p>This flowgraph can be downloaded from [[Media:Type_conv.grc]].</p>


== Source Files ==
== Source Files ==
; C++ files
: [https://github.com/gnuradio/gnuradio TODO]
; Header files
: [https://github.com/gnuradio/gnuradio TODO]
; Public header files
: [https://github.com/gnuradio/gnuradio TODO]
; Block definition
: [https://github.com/gnuradio/gnuradio TODO]

Latest revision as of 21:28, 10 April 2025

Convert stream of complex to a stream of interleaved chars. The output stream contains chars with twice as many output items as input items. For every complex input item, we produce two output chars that contain the real part and imaginary part converted to chars.

Parameters

Vector Output
Instead of producing twice as many output items as input items, setting this to true will use vectors of length 2 as the output.

Example Flowgraph

Type conv fg.png

This flowgraph can be downloaded from Media:Type_conv.grc.

Source Files

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