Char To Short

From GNU Radio
Revision as of 04:07, 21 July 2019 by 777arc (talk | contribs) (→‎Example Flowgraph)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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. 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