Char To Short: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:Block Docs Category:Stub Docs This is the template for the "Page-per-block Docs". This first section should describe what the block...") |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Block Docs]] | [[Category:Block Docs]] | ||
Convert stream of chars (a.k.a. bytes) to a stream of shorts, multiplying each element by 256. | |||
== Parameters == | == 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. | |||
[[File:Char-to-short-ex.png|500px]] | |||
[[File:Char-to-short-ex2.png|500px]] | |||
== Source Files == | == Source Files == | ||
Latest revision as of 04:07, 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. Note how the signal source is generating random numbers between 0 and 128.