Char To Short: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
== Example Flowgraph ==
== Example Flowgraph ==


Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.
This flowgraph shows how this block multiplies the stream by 256, compared to the regular [[Char to Float]] block.
 
[[File:Char-to-short-ex.png|500px]]
 
[[File:Char-to-short-ex.png2|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

File:Char-to-short-ex.png2

Source Files