Difference between revisions of "Signal Source"

From GNU Radio
Jump to: navigation, search
(Parameters)
 
Line 5: Line 5:
  
 
== Parameters ==
 
== Parameters ==
 +
<b>(''R''):</b> <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span>
  
; Sample Rate
+
; Sample Rate (''R'')
: Sampling rate of signal
+
: default: samp_rate
  
; Waveform
+
; Waveform (''R'')
: waveform type
+
: 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
+
; Frequency (''R'')
: Frequency of waveform (relative to sampling_freq)
+
: frequency of the waveform (default: 1000)
  
; Ampltiude
+
; Amplitude (''R'')
: Signal amplitude
+
: amplitude of the output (default: 1)
  
; Offset
+
; Offset (''R'')
: offset of signal
+
: offset from zero (default: 0)
 +
 
 +
; Initial Phase (Radians) (''R'')
 +
: default: 0
  
 
== Example Flowgraph ==
 
== Example Flowgraph ==

Latest 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[edit]

(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[edit]

Signal-source-ex.png

Types of Waveforms:

Cosine (complex):

Signal-source-cosine.png

Constant:

Signal-source-constant.png

Square:

Signal-source-square.png

Triangle:

Signal-source-triangle.png

Sawtooth:

Signal-source-sawtooth.png