Difference between revisions of "Char To Short"

From GNU Radio
Jump to: navigation, search
Line 11: Line 11:
 
[[File:Char-to-short-ex.png|500px]]
 
[[File:Char-to-short-ex.png|500px]]
  
[[File:Char-to-short-ex.png2|500px]]
+
[[File:Char-to-short-ex2.png|500px]]
  
 
== Source Files ==
 
== Source Files ==

Revision as of 04:06, 21 July 2019

Convert stream of chars (a.k.a. bytes) to a stream of shorts, multiplying each element by 256.

Parameters

None

Example Flowgraph

This flowgraph shows how this block multiplies the stream by 256, compared to the regular Char To Float block.

Char-to-short-ex.png

Char-to-short-ex2.png

Source Files