Difference between revisions of "Random Source"
From GNU Radio
(Created page with "Generates a number of samples of random numbers of [min, max) meaning the max value won't be included. Repeat samples if specified. Great for creating bytes of information fo...") |
|||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Block Docs]] | ||
Generates a number of samples of random numbers of [min, max) meaning the max value won't be included. Repeat samples if specified. Great for creating bytes of information for a modulator. | Generates a number of samples of random numbers of [min, max) meaning the max value won't be included. Repeat samples if specified. Great for creating bytes of information for a modulator. | ||
Line 4: | Line 5: | ||
Supports an output of type int, short, and byte. | Supports an output of type int, short, and byte. | ||
+ | |||
+ | == Parameters == | ||
+ | (''R''): <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span> | ||
+ | |||
+ | ; Param 1 (''R'') | ||
+ | : Description of parameter, provide any tips or recommended values. Note that the name of the parameter above should match the param's label that shows up in grc (e.g. Sample Rate). | ||
+ | |||
+ | ; Param 2 | ||
+ | : blah blah blah | ||
+ | |||
+ | == Example Flowgraph == | ||
+ | |||
+ | [[File:Random-source-ex.png|800px]] | ||
+ | |||
+ | == Source Files == | ||
+ | |||
+ | ; C++ files | ||
+ | : [https://github.com/gnuradio/gnuradio TODO] | ||
+ | |||
+ | ; Header files | ||
+ | : [https://github.com/gnuradio/gnuradio TODO] | ||
+ | |||
+ | ; Public header files | ||
+ | : [https://github.com/gnuradio/gnuradio TODO] | ||
+ | |||
+ | ; Block definition | ||
+ | : [https://github.com/gnuradio/gnuradio TODO] |
Latest revision as of 16:00, 20 July 2019
Generates a number of samples of random numbers of [min, max) meaning the max value won't be included. Repeat samples if specified. Great for creating bytes of information for a modulator.
Ex: With min=0 and max=2, the sequence 01110101... will be generated.
Supports an output of type int, short, and byte.
Parameters[edit]
(R): Run-time adjustable
- Param 1 (R)
- Description of parameter, provide any tips or recommended values. Note that the name of the parameter above should match the param's label that shows up in grc (e.g. Sample Rate).
- Param 2
- blah blah blah
Example Flowgraph[edit]
Source Files[edit]
- C++ files
- TODO
- Header files
- TODO
- Public header files
- TODO
- Block definition
- TODO