Difference between revisions of "Signal Source"
From GNU Radio
(Created page with "Signal generator, generates a variety of signals. Supports an output of type complex, float, int, and short Args: * Sample Rate : Sampling rate of signal * Waveform : wavefo...") |
(→Parameters) |
||
(7 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Block Docs]] | ||
Signal generator, generates a variety of signals. | Signal generator, generates a variety of signals. | ||
Supports an output of type complex, float, int, and short | Supports an output of type complex, float, int, and short | ||
− | + | == Parameters == | |
− | + | <b>(''R''):</b> <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span> | |
− | + | ||
− | + | ; Sample Rate (''R'') | |
− | + | : default: samp_rate | |
− | + | ||
+ | ; Waveform (''R'') | ||
+ | : options: [Constant, Sine, Cosine, Square, Triangle, Saw Tooth] | ||
+ | : For selection with a variable, the following values should be used: | ||
+ | constant = 100 | ||
+ | sine = 101 | ||
+ | cosine = 102 | ||
+ | square = 103 | ||
+ | triangle = 104 | ||
+ | sawtooth = 105 | ||
+ | |||
+ | ; Frequency (''R'') | ||
+ | : frequency of the waveform (default: 1000) | ||
+ | |||
+ | ; Amplitude (''R'') | ||
+ | : amplitude of the output (default: 1) | ||
+ | |||
+ | ; Offset (''R'') | ||
+ | : offset from zero (default: 0) | ||
+ | |||
+ | ; Initial Phase (Radians) (''R'') | ||
+ | : default: 0 | ||
+ | |||
+ | == Example Flowgraph == | ||
+ | |||
+ | [[File:Signal-source-ex.png]] | ||
+ | |||
+ | Types of Waveforms: | ||
+ | |||
+ | Cosine (complex): | ||
+ | |||
+ | [[File:Signal-source-cosine.png|600px]] | ||
+ | |||
+ | Constant: | ||
+ | |||
+ | [[File:Signal-source-constant.png|600px]] | ||
+ | |||
+ | Square: | ||
+ | |||
+ | [[File:Signal-source-square.png|600px]] | ||
+ | |||
+ | Triangle: | ||
+ | |||
+ | [[File:Signal-source-triangle.png|600px]] | ||
+ | |||
+ | Sawtooth: | ||
+ | |||
+ | [[File:Signal-source-sawtooth.png|600px]] |
Revision as of 03:06, 17 November 2020
Signal generator, generates a variety of signals.
Supports an output of type complex, float, int, and short
Parameters
(R): Run-time adjustable
- Sample Rate (R)
- default: samp_rate
- Waveform (R)
- options: [Constant, Sine, Cosine, Square, Triangle, Saw Tooth]
- For selection with a variable, the following values should be used:
constant = 100 sine = 101 cosine = 102 square = 103 triangle = 104 sawtooth = 105
- Frequency (R)
- frequency of the waveform (default: 1000)
- Amplitude (R)
- amplitude of the output (default: 1)
- Offset (R)
- offset from zero (default: 0)
- Initial Phase (Radians) (R)
- default: 0
Example Flowgraph
Types of Waveforms:
Cosine (complex):
Constant:
Square:
Triangle:
Sawtooth: