Char To Short

From GNU Radio
Jump to: navigation, search

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

Parameters[edit]

None

Example Flowgraph[edit]

This flowgraph shows how this block multiplies the stream by 256, compared to the regular Char To Float block. Note how the signal source is generating random numbers between 0 and 128.

Char-to-short-ex.png

Char-to-short-ex2.png

Source Files[edit]