From 71127c2d4082119ea086f9f881b349922ed8cf24 Mon Sep 17 00:00:00 2001
From: Wayne Roberts
Date: Sun, 8 Jul 2012 16:57:01 -0400
Subject: digital: adding a GFSK mod/demodulator.
Includes GRC files and an example in gr-digital/examples/demod
---
gr-digital/examples/demod/gfsk_loopback.grc | 646 ++++++++++++++++++++++++++++
1 file changed, 646 insertions(+)
create mode 100644 gr-digital/examples/demod/gfsk_loopback.grc
(limited to 'gr-digital/examples/demod')
diff --git a/gr-digital/examples/demod/gfsk_loopback.grc b/gr-digital/examples/demod/gfsk_loopback.grc
new file mode 100644
index 000000000..f74a83526
--- /dev/null
+++ b/gr-digital/examples/demod/gfsk_loopback.grc
@@ -0,0 +1,646 @@
+
+
+ Sun Jul 8 16:56:18 2012
+
+ variable_slider
+
+ id
+ freq
+
+
+ _enabled
+ True
+
+
+ label
+ Frequency (Hz)
+
+
+ value
+ 500
+
+
+ min
+ 0
+
+
+ max
+ samp_rate/2
+
+
+ num_steps
+ 100
+
+
+ style
+ wx.SL_HORIZONTAL
+
+
+ converver
+ float_converter
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (34, 241)
+
+
+ _rotation
+ 0
+
+
+
+ gr_sig_source_x
+
+ id
+ gr_sig_source_x_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ samp_rate
+ samp_rate
+
+
+ waveform
+ gr.GR_COS_WAVE
+
+
+ freq
+ freq
+
+
+ amp
+ 1
+
+
+ offset
+ 0
+
+
+ _coordinate
+ (215, 26)
+
+
+ _rotation
+ 0
+
+
+
+ gr_throttle
+
+ id
+ gr_throttle_0_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ samples_per_second
+ samp_rate
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (272.5, 142.0)
+
+
+ _rotation
+ 0
+
+
+
+ blks2_packet_encoder
+
+ id
+ blks2_packet_encoder_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ samples_per_symbol
+ 2
+
+
+ bits_per_symbol
+ 1
+
+
+ access_code
+
+
+
+ pad_for_usrp
+ True
+
+
+ payload_length
+ 0
+
+
+ _coordinate
+ (261, 227)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ samp_rate
+
+
+ _enabled
+ True
+
+
+ value
+ 10000
+
+
+ _coordinate
+ (10, 170)
+
+
+ _rotation
+ 0
+
+
+
+ digital_gfsk_demod
+
+ id
+ digital_gfsk_demod_0
+
+
+ _enabled
+ True
+
+
+ samples_per_symbol
+ sps
+
+
+ sensitivity
+ fm_sensitivity
+
+
+ gain_mu
+ 0.175
+
+
+ mu
+ 0.5
+
+
+ omega_relative_limit
+ 0.005
+
+
+ freq_error
+ 0.0
+
+
+ verbose
+ False
+
+
+ log
+ False
+
+
+ _coordinate
+ (669, 257)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ sps
+
+
+ _enabled
+ True
+
+
+ value
+ 8
+
+
+ _coordinate
+ (47, 445)
+
+
+ _rotation
+ 0
+
+
+
+ digital_gfsk_mod
+
+ id
+ digital_gfsk_mod_0
+
+
+ _enabled
+ True
+
+
+ samples_per_symbol
+ sps
+
+
+ sensitivity
+ fm_sensitivity
+
+
+ bt
+ 0.35
+
+
+ verbose
+ False
+
+
+ log
+ False
+
+
+ _coordinate
+ (456, 277)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ fm_sensitivity
+
+
+ _enabled
+ True
+
+
+ value
+ 1.0
+
+
+ _coordinate
+ (40, 366)
+
+
+ _rotation
+ 0
+
+
+
+ blks2_packet_decoder
+
+ id
+ blks2_packet_decoder_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ access_code
+
+
+
+ threshold
+ -1
+
+
+ _coordinate
+ (705, 130)
+
+
+ _rotation
+ 0
+
+
+
+ gr_quadrature_demod_cf
+
+ id
+ gr_quadrature_demod_cf_0
+
+
+ _enabled
+ True
+
+
+ gain
+ 1
+
+
+ _coordinate
+ (627, 417)
+
+
+ _rotation
+ 0
+
+
+
+ options
+
+ id
+ gfsk_loopback
+
+
+ _enabled
+ True
+
+
+ title
+
+
+
+ author
+
+
+
+ description
+
+
+
+ window_size
+ 1280, 1024
+
+
+ generate_options
+ wx_gui
+
+
+ category
+ Custom
+
+
+ run_options
+ prompt
+
+
+ run
+ True
+
+
+ max_nouts
+ 0
+
+
+ realtime_scheduling
+
+
+
+ _coordinate
+ (10, 10)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_scopesink2
+
+ id
+ wxgui_scopesink2_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ title
+ Scope Plot
+
+
+ samp_rate
+ samp_rate
+
+
+ v_scale
+ 0
+
+
+ v_offset
+ 0
+
+
+ t_scale
+ 1./freq
+
+
+ ac_couple
+ False
+
+
+ xy_mode
+ False
+
+
+ num_inputs
+ 1
+
+
+ win_size
+
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ trig_mode
+ gr.gr_TRIG_MODE_AUTO
+
+
+ y_axis_label
+ Counts
+
+
+ _coordinate
+ (907, 59)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_scopesink2
+
+ id
+ wxgui_scopesink2_1
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ title
+ Scope Plot
+
+
+ samp_rate
+ samp_rate
+
+
+ v_scale
+ 0
+
+
+ v_offset
+ 0
+
+
+ t_scale
+ 0
+
+
+ ac_couple
+ False
+
+
+ xy_mode
+ False
+
+
+ num_inputs
+ 1
+
+
+ win_size
+
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ trig_mode
+ gr.gr_TRIG_MODE_AUTO
+
+
+ y_axis_label
+ Counts
+
+
+ _coordinate
+ (853, 400)
+
+
+ _rotation
+ 0
+
+
+
+ digital_gfsk_mod_0
+ digital_gfsk_demod_0
+ 0
+ 0
+
+
+ gr_sig_source_x_0
+ gr_throttle_0_0
+ 0
+ 0
+
+
+ gr_throttle_0_0
+ blks2_packet_encoder_0
+ 0
+ 0
+
+
+ blks2_packet_encoder_0
+ digital_gfsk_mod_0
+ 0
+ 0
+
+
+ digital_gfsk_demod_0
+ blks2_packet_decoder_0
+ 0
+ 0
+
+
+ blks2_packet_decoder_0
+ wxgui_scopesink2_0
+ 0
+ 0
+
+
+ digital_gfsk_mod_0
+ gr_quadrature_demod_cf_0
+ 0
+ 0
+
+
+ gr_quadrature_demod_cf_0
+ wxgui_scopesink2_1
+ 0
+ 0
+
+
--
cgit
From b34c497a27448cdadeecbf24bc95e8af5e4208c1 Mon Sep 17 00:00:00 2001
From: Martin Braun
Date: Sun, 8 Jul 2012 17:02:57 -0400
Subject: digital: patching ber_simulation.grc to use EbN0 instead of noise
amplitude.
---
gr-digital/examples/demod/ber_simulation.grc | 305 +++++++++++++--------------
1 file changed, 143 insertions(+), 162 deletions(-)
(limited to 'gr-digital/examples/demod')
diff --git a/gr-digital/examples/demod/ber_simulation.grc b/gr-digital/examples/demod/ber_simulation.grc
index 6a9361ed1..b7c6a624b 100644
--- a/gr-digital/examples/demod/ber_simulation.grc
+++ b/gr-digital/examples/demod/ber_simulation.grc
@@ -1,6 +1,6 @@
- Tue Apr 3 18:11:51 2012
+ Thu Jul 5 15:57:06 2012
options
@@ -43,6 +43,10 @@
run
True
+
+ max_nouts
+ 0
+
realtime_scheduling
@@ -57,10 +61,41 @@
- gr_noise_source_x
+ gr_throttle
id
- gr_noise_source_x
+ gr_throttle
+
+
+ _enabled
+ True
+
+
+ type
+ byte
+
+
+ samples_per_second
+ samp_rate
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (284, 24)
+
+
+ _rotation
+ 0
+
+
+
+ gr_add_xx
+
+ id
+ gr_add_xx
_enabled
@@ -71,20 +106,39 @@
complex
- noise_type
- gr.GR_GAUSSIAN
+ num_inputs
+ 2
- amp
- noise
+ vlen
+ 1
- seed
- 42
+ _coordinate
+ (486, 151)
+
+
+ _rotation
+ 0
+
+
+
+ digital_constellation_decoder_cb
+
+ id
+ digital_constellation_decoder_cb_0
+
+
+ _enabled
+ True
+
+
+ constellation
+ const.base()
_coordinate
- (235, 379)
+ (618, 164)
_rotation
@@ -171,38 +225,30 @@
_coordinate
- (1062, 11)
+ (791, 228)
_rotation
- 0
+ 180
- gr_throttle
+ import
id
- gr_throttle
+ import
_enabled
True
- type
- byte
-
-
- samples_per_second
- samp_rate
-
-
- vlen
- 1
+ import
+ import math
_coordinate
- (397, 27)
+ (18, 373)
_rotation
@@ -213,7 +259,7 @@
variable
id
- samp_rate
+ const
_enabled
@@ -221,11 +267,11 @@
value
- 50e3
+ digital.qpsk_constellation()
_coordinate
- (20, 168)
+ (116, 310)
_rotation
@@ -233,22 +279,22 @@
- import
+ variable
id
- import
+ samp_rate
_enabled
True
- import
- import math
+ value
+ 100e3
_coordinate
- (138, 168)
+ (16, 308)
_rotation
@@ -271,7 +317,7 @@
title
- "Constellation: "+str(const)
+ "Constellation: "+str(const.arity()) + "-PSK"
samp_rate
@@ -323,7 +369,7 @@
_coordinate
- (828, 368)
+ (623, 228)
_rotation
@@ -331,10 +377,10 @@
- gr_add_xx
+ blks2_error_rate
id
- gr_add_xx
+ blks2_error_rate
_enabled
@@ -342,42 +388,19 @@
type
- complex
-
-
- num_inputs
- 2
-
-
- vlen
- 1
-
-
- _coordinate
- (652, 395)
-
-
- _rotation
- 0
-
-
-
- digital_constellation_decoder_cb
-
- id
- digital_constellation_decoder_cb_0
+ 'BER'
- _enabled
- True
+ win_size
+ int(1e7)
- constellation
- const.base()
+ bits_per_symbol
+ const.bits_per_symbol()
_coordinate
- (693, 205)
+ (720, 25)
_rotation
@@ -385,45 +408,34 @@
- variable
+ gr_noise_source_x
id
- const
+ gr_noise_source_x
_enabled
True
- value
- digital.qpsk_constellation()
-
-
- _coordinate
- (16, 461)
-
-
- _rotation
- 0
+ type
+ complex
-
-
- variable
- id
- const_points
+ noise_type
+ gr.GR_GAUSSIAN
- _enabled
- True
+ amp
+ 1.0 / math.sqrt(2.0 * const.bits_per_symbol() * 10**(EbN0/10))
- value
- const.points()
+ seed
+ 42
_coordinate
- (17, 532)
+ (16, 224)
_rotation
@@ -431,38 +443,38 @@
- random_source_x
+ gr_chunks_to_symbols_xx
id
- random_source_x
+ gr_chunks_to_symbols_xx
_enabled
True
- type
+ in_type
byte
- min
- 0
+ out_type
+ complex
- max
- len(const_points)
+ symbol_table
+ const.points()
- num_samps
- 1000000
+ dimension
+ 1
- repeat
- False
+ num_ports
+ 1
_coordinate
- (15, 244)
+ (240, 140)
_rotation
@@ -470,69 +482,54 @@
- gr_chunks_to_symbols_xx
+ variable_slider
id
- gr_chunks_to_symbols_xx
+ EbN0
_enabled
True
- in_type
- byte
-
-
- out_type
- complex
-
-
- symbol_table
- const_points
-
-
- dimension
- 1
+ label
+ Eb/N0 (dB)
- num_ports
- 1
+ value
+ 10
- _coordinate
- (367, 260)
+ min
+ -10
- _rotation
- 0
+ max
+ 200
-
-
- blks2_error_rate
- id
- blks2_error_rate
+ num_steps
+ 211
- _enabled
- True
+ style
+ wx.SL_HORIZONTAL
- type
- 'BER'
+ converver
+ float_converter
- win_size
- 1000000
+ grid_pos
+
- bits_per_symbol
- int(math.log(len(const_points))/math.log(2))
+ notebook
+
_coordinate
- (670, 41)
+ (311, 309)
_rotation
@@ -540,22 +537,18 @@
- variable_slider
+ random_source_x
id
- noise
+ random_source_x
_enabled
True
- label
- AWGN Noise
-
-
- value
- 0.10
+ type
+ byte
min
@@ -563,31 +556,19 @@
max
- 1
-
-
- num_steps
- 100
+ const.arity()
- style
- wx.SL_HORIZONTAL
-
-
- converver
- float_converter
-
-
- grid_pos
-
+ num_samps
+ 10000000
- notebook
-
+ repeat
+ True
_coordinate
- (268, 481)
+ (17, 125)
_rotation
--
cgit
From c4805e3a02b7547823c81664dae497c145c8c66a Mon Sep 17 00:00:00 2001
From: Martin Braun
Date: Sun, 8 Jul 2012 17:08:24 -0400
Subject: digital: fixes the digital demod GRC examples after last updates to
gr-digital.
---
gr-digital/examples/demod/digital_freq_lock.grc | 820 ++++-----------
gr-digital/examples/demod/dpsk_loopback.grc | 198 ++--
gr-digital/examples/demod/mpsk_demod.grc | 10 +-
gr-digital/examples/demod/pam_sync.grc | 1229 +++++++++--------------
gr-digital/examples/demod/pam_timing.grc | 370 ++++---
5 files changed, 980 insertions(+), 1647 deletions(-)
(limited to 'gr-digital/examples/demod')
diff --git a/gr-digital/examples/demod/digital_freq_lock.grc b/gr-digital/examples/demod/digital_freq_lock.grc
index 36037febb..df105dd7f 100644
--- a/gr-digital/examples/demod/digital_freq_lock.grc
+++ b/gr-digital/examples/demod/digital_freq_lock.grc
@@ -1,6 +1,6 @@
- Sat Mar 6 17:17:12 2010
+ Thu Jul 5 18:11:22 2012
options
@@ -44,105 +44,16 @@
True
- realtime_scheduling
-
-
-
- _coordinate
- (10, 10)
-
-
- _rotation
+ max_nouts
0
-
-
- gr_uchar_to_float
-
- id
- gr_uchar_to_float_0
-
- _enabled
- True
-
-
- _coordinate
- (217, 108)
-
-
- _rotation
- 0
-
-
-
- gr_uchar_to_float
-
- id
- gr_uchar_to_float_0_0
-
-
- _enabled
- True
-
-
- _coordinate
- (216, 273)
-
-
- _rotation
- 0
-
-
-
- variable_slider
-
- id
- freq_offset
-
-
- _enabled
- True
-
-
- label
- Frequency Offset
-
-
- value
- 0
-
-
- min
- -0.5
-
-
- max
- 0.5
-
-
- num_steps
- 1000
-
-
- style
- wx.SL_HORIZONTAL
-
-
- converver
- float_converter
-
-
- grid_pos
-
-
-
- notebook
+ realtime_scheduling
_coordinate
- (293, 684)
+ (-1, 0)
_rotation
@@ -153,7 +64,7 @@
random_source_x
id
- random_source_x_0
+ random_source_x
_enabled
@@ -169,11 +80,11 @@
max
- pam_amp
+ 256
num_samps
- 10000
+ 10000000
repeat
@@ -181,7 +92,7 @@
_coordinate
- (13, 80)
+ (-2, 111)
_rotation
@@ -189,10 +100,10 @@
- random_source_x
+ gr_throttle
id
- random_source_x_0_0
+ gr_throttle_0
_enabled
@@ -200,54 +111,19 @@
type
- byte
-
-
- min
- 0
-
-
- max
- pam_amp
-
-
- num_samps
- 10000
-
-
- repeat
- True
-
-
- _coordinate
- (15, 245)
-
-
- _rotation
- 0
-
-
-
- const_source_x
-
- id
- const_source_x_0
-
-
- _enabled
- True
+ complex
- type
- float
+ samples_per_second
+ samp_rate
- const
- -0.5*(pam_amp-1)
+ vlen
+ 1
_coordinate
- (213, 197)
+ (456, 134)
_rotation
@@ -255,26 +131,22 @@
- const_source_x
+ variable
id
- const_source_x_0_0
+ sps
_enabled
True
- type
- float
-
-
- const
- -0.5*(pam_amp-1)
+ value
+ 4
_coordinate
- (200, 360)
+ (166, -2)
_rotation
@@ -282,30 +154,22 @@
- gr_add_xx
+ variable
id
- gr_add_xx_0
+ rolloff
_enabled
True
- type
- float
-
-
- num_inputs
- 2
-
-
- vlen
- 1
+ value
+ 0.35
_coordinate
- (440, 167)
+ (231, 0)
_rotation
@@ -313,10 +177,10 @@
- gr_add_xx
+ digital_fll_band_edge_cc
id
- gr_add_xx_0_1
+ digital_fll_band_edge_cc_0
_enabled
@@ -324,42 +188,27 @@
type
- float
-
-
- num_inputs
- 2
-
-
- vlen
- 1
-
-
- _coordinate
- (430, 330)
+ cc
- _rotation
- 0
+ samps_per_sym
+ sps
-
-
- variable
- id
- nfilts
+ rolloff
+ rolloff
- _enabled
- True
+ filter_size
+ 44
- value
- 32
+ w
+ freq_bw
_coordinate
- (435, 686)
+ (81, 248)
_rotation
@@ -370,7 +219,7 @@
variable_slider
id
- noise_amp
+ freq_bw
_enabled
@@ -378,7 +227,7 @@
label
- Channel Noise
+ FLL Loop Bandwidth
value
@@ -390,7 +239,7 @@
max
- 1.0
+ 0.1
num_steps
@@ -414,7 +263,7 @@
_coordinate
- (168, 684)
+ (80, 382)
_rotation
@@ -425,7 +274,7 @@
variable
id
- spb_gen
+ samp_rate
_enabled
@@ -433,11 +282,11 @@
value
- 4
+ 32000
_coordinate
- (119, 841)
+ (439, -1)
_rotation
@@ -445,122 +294,42 @@
- variable
+ variable_slider
id
- pam_amp
+ noise_amp
_enabled
True
- value
- 2
-
-
- _coordinate
- (223, 9)
-
-
- _rotation
- 0
-
-
-
- variable
-
- id
- spb
-
-
- _enabled
- True
+ label
+ Channel Noise
value
- 4.1
-
-
- _coordinate
- (32, 842)
-
-
- _rotation
0
-
-
- gr_float_to_complex
-
- id
- gr_float_to_complex_0
-
-
- _enabled
- True
-
- vlen
- 1
-
-
- _coordinate
- (590, 184)
-
-
- _rotation
- 0
-
-
-
- gr_throttle
-
- id
- gr_throttle_0
-
-
- _enabled
- True
-
-
- type
- complex
-
-
- samples_per_second
- samp_rate
-
-
- vlen
- 1
-
-
- _coordinate
- (788, 197)
-
-
- _rotation
+ min
0
-
-
- notebook
- id
- notebook_0
+ max
+ 1.0
- _enabled
- True
+ num_steps
+ 1000
style
- wx.NB_TOP
+ wx.SL_HORIZONTAL
- labels
- ['Freq', 'Time']
+ converver
+ float_converter
grid_pos
@@ -572,7 +341,7 @@
_coordinate
- (216, 845)
+ (553, 0)
_rotation
@@ -580,54 +349,42 @@
- wxgui_scopesink2
+ variable_slider
id
- wxgui_scopesink2_0
+ freq_offset
_enabled
True
- type
- complex
-
-
- title
- Signal into Receiver
-
-
- samp_rate
- samp_rate
-
-
- v_scale
- 0
+ label
+ Frequency Offset
- v_offset
+ value
0
- t_scale
- 0
+ min
+ -0.5
- ac_couple
- False
+ max
+ 0.5
- xy_mode
- False
+ num_steps
+ 1000
- num_inputs
- 1
+ style
+ wx.SL_HORIZONTAL
- win_size
-
+ converver
+ float_converter
grid_pos
@@ -635,11 +392,11 @@
notebook
- notebook_0,1
+
_coordinate
- (1123, 392)
+ (673, -1)
_rotation
@@ -647,86 +404,38 @@
- wxgui_fftsink2
+ gr_channel_model
id
- wxgui_fftsink2_0
+ gr_channel_model_0
_enabled
True
- type
- complex
-
-
- title
- Signal into Receiver
-
-
- samp_rate
- samp_rate
-
-
- baseband_freq
- 0
-
-
- y_per_div
- 10
-
-
- y_divs
- 10
-
-
- ref_level
- 10
-
-
- ref_scale
- 2.0
-
-
- fft_size
- 1024
-
-
- fft_rate
- 30
-
-
- peak_hold
- False
-
-
- average
- False
-
-
- avg_alpha
- 0
+ noise_voltage
+ noise_amp
- win
- None
+ freq_offset
+ freq_offset
- win_size
-
+ epsilon
+ 1.0
- grid_pos
-
+ taps
+ 1.0
- notebook
- notebook_0,0
+ seed
+ 42
_coordinate
- (1122, 473)
+ (649, 104)
_rotation
@@ -737,7 +446,7 @@
wxgui_scopesink2
id
- wxgui_scopesink2_0_0
+ wxgui_scopesink2_0
_enabled
@@ -749,7 +458,7 @@
title
- Frequency Corrected Signal
+ Signal into Receiver
samp_rate
@@ -791,9 +500,17 @@
notebook
notebook_0,1
+
+ trig_mode
+ gr.gr_TRIG_MODE_AUTO
+
+
+ y_axis_label
+ Counts
+
_coordinate
- (1122, 680)
+ (875, 0)
_rotation
@@ -804,7 +521,7 @@
wxgui_fftsink2
id
- wxgui_fftsink2_0_0
+ wxgui_fftsink2_0
_enabled
@@ -816,7 +533,7 @@
title
- Frequency Corrected Signal
+ Signal into Receiver
samp_rate
@@ -879,31 +596,12 @@
notebook_0,0
- _coordinate
- (1121, 762)
-
-
- _rotation
- 0
-
-
-
- variable
-
- id
- samp_rate
-
-
- _enabled
- True
-
-
- value
- 32000
+ freqvar
+ None
_coordinate
- (128, 9)
+ (875, 108)
_rotation
@@ -911,68 +609,46 @@
- variable
+ digital_psk_mod
id
- sig_amp
+ digital_psk_mod_0
_enabled
True
- value
- 1
-
-
- _coordinate
- (315, 9)
+ constellation_points
+ 2
- _rotation
- 0
+ mod_code
+ "gray"
-
-
- variable
- id
- rolloff
+ differential
+ False
- _enabled
- True
+ samples_per_symbol
+ sps
- value
+ excess_bw
0.35
- _coordinate
- (398, 12)
-
-
- _rotation
- 0
-
-
-
- variable
-
- id
- rrctaps
-
-
- _enabled
- True
+ verbose
+ False
- value
- firdes.root_raised_cosine(nfilts,1.0,1.0/(spb*nfilts), .35, int(11*spb*nfilts))
+ log
+ False
_coordinate
- (826, 61)
+ (194, 104)
_rotation
@@ -980,10 +656,10 @@
- root_raised_cosine_filter
+ wxgui_scopesink2
id
- root_raised_cosine_filter_0
+ wxgui_scopesink2_0_0
_enabled
@@ -991,82 +667,63 @@
type
- interp_fir_filter_ccf
-
-
- decim
- 1
-
-
- interp
- spb_gen
+ complex
- gain
- 2*spb_gen
+ title
+ Frequency Corrected Signal
samp_rate
- 1.0
-
-
- sym_rate
- 1./spb_gen
-
-
- alpha
- rolloff
+ samp_rate
- ntaps
- 44
+ v_scale
+ 0
- _coordinate
- (978, 157)
+ v_offset
+ 0
- _rotation
+ t_scale
0
-
-
- gr_fll_band_edge_cc
- id
- gr_fll_band_edge_cc_0
+ ac_couple
+ False
- _enabled
- True
+ xy_mode
+ False
- type
- cc
+ num_inputs
+ 1
- samps_per_sym
- spb_gen
+ win_size
+
- rolloff
- rolloff
+ grid_pos
+
- filter_size
- 44
+ notebook
+ notebook_0,1
- alpha
- alpha
+ trig_mode
+ gr.gr_TRIG_MODE_AUTO
- beta
- beta
+ y_axis_label
+ Counts
_coordinate
- (874, 664)
+ (439, 289)
_rotation
@@ -1074,81 +731,74 @@
- gr_channel_model
+ wxgui_fftsink2
id
- gr_channel_model_0
+ wxgui_fftsink2_0_0
_enabled
True
- noise_voltage
- noise_amp
-
-
- freq_offset
- freq_offset
+ type
+ complex
- epsilon
- 1.0
+ title
+ Frequency Corrected Signal
- taps
- 1.0
+ samp_rate
+ samp_rate
- seed
- 42
+ baseband_freq
+ 0
- _coordinate
- (618, 376)
+ y_per_div
+ 10
- _rotation
- 0
+ y_divs
+ 10
-
-
- variable_slider
- id
- beta
+ ref_level
+ 10
- _enabled
- True
+ ref_scale
+ 2.0
- label
- Freq Beta
+ fft_size
+ 1024
- value
- 0
+ fft_rate
+ 30
- min
- 0.0
+ peak_hold
+ False
- max
- 0.01
+ average
+ False
- num_steps
- 1000
+ avg_alpha
+ 0
- style
- wx.SL_HORIZONTAL
+ win
+ None
- converver
- float_converter
+ win_size
+
grid_pos
@@ -1156,54 +806,38 @@
notebook
-
+ notebook_0,0
+
+
+ freqvar
+ None
_coordinate
- (668, 5)
+ (439, 423)
_rotation
- 180
+ 0
- variable_slider
+ notebook
id
- alpha
+ notebook_0
_enabled
True
-
- label
- Freq Alpha
-
-
- value
- 0
-
-
- min
- 0
-
-
- max
- 0.1
-
-
- num_steps
- 1000
-
style
- wx.SL_HORIZONTAL
+ wx.NB_TOP
- converver
- float_converter
+ labels
+ ['Freq', 'Time']
grid_pos
@@ -1215,7 +849,7 @@
_coordinate
- (552, 4)
+ (114, 521)
_rotation
@@ -1223,97 +857,49 @@
- random_source_x_0
- gr_uchar_to_float_0
- 0
- 0
-
-
- gr_uchar_to_float_0
- gr_add_xx_0
- 0
- 0
-
-
- const_source_x_0
- gr_add_xx_0
- 0
- 1
-
-
- gr_uchar_to_float_0_0
- gr_add_xx_0_1
+ gr_channel_model_0
+ wxgui_scopesink2_0
0
0
- const_source_x_0_0
- gr_add_xx_0_1
- 0
- 1
-
-
- random_source_x_0_0
- gr_uchar_to_float_0_0
+ gr_channel_model_0
+ wxgui_fftsink2_0
0
0
- gr_add_xx_0
- gr_float_to_complex_0
+ random_source_x
+ digital_psk_mod_0
0
0
- gr_add_xx_0_1
- gr_float_to_complex_0
- 0
- 1
-
-
- gr_float_to_complex_0
+ digital_psk_mod_0
gr_throttle_0
0
0
gr_throttle_0
- root_raised_cosine_filter_0
- 0
- 0
-
-
- gr_channel_model_0
- wxgui_scopesink2_0
- 0
- 0
-
-
- root_raised_cosine_filter_0
gr_channel_model_0
0
0
gr_channel_model_0
- wxgui_fftsink2_0
- 0
- 0
-
-
- gr_channel_model_0
- gr_fll_band_edge_cc_0
+ digital_fll_band_edge_cc_0
0
0
- gr_fll_band_edge_cc_0
+ digital_fll_band_edge_cc_0
wxgui_scopesink2_0_0
0
0
- gr_fll_band_edge_cc_0
+ digital_fll_band_edge_cc_0
wxgui_fftsink2_0_0
0
0
diff --git a/gr-digital/examples/demod/dpsk_loopback.grc b/gr-digital/examples/demod/dpsk_loopback.grc
index aef6a7738..c9867bea2 100644
--- a/gr-digital/examples/demod/dpsk_loopback.grc
+++ b/gr-digital/examples/demod/dpsk_loopback.grc
@@ -1,6 +1,6 @@
- Tue Apr 3 18:03:52 2012
+ Thu Jul 5 16:26:53 2012
options
@@ -17,11 +17,11 @@
author
- Example
+ GNU Radio
description
- gnuradio flow graph
+ Encode a signal into a packet, modulate, demodulate, decode and show it's the same data.
window_size
@@ -43,6 +43,10 @@
run
True
+
+ max_nouts
+ 0
+
realtime_scheduling
@@ -72,7 +76,7 @@
_coordinate
- (10, 170)
+ (11, 120)
_rotation
@@ -127,7 +131,7 @@
_coordinate
- (12, 257)
+ (13, 188)
_rotation
@@ -135,10 +139,10 @@
- gr_throttle
+ gr_sig_source_x
id
- gr_throttle_0_0
+ gr_sig_source_x_0
_enabled
@@ -149,16 +153,28 @@
float
- samples_per_second
+ samp_rate
samp_rate
- vlen
+ waveform
+ gr.GR_COS_WAVE
+
+
+ freq
+ freq
+
+
+ amp
1
+
+ offset
+ 0
+
_coordinate
- (225, 174)
+ (184, 9)
_rotation
@@ -166,10 +182,10 @@
- gr_sig_source_x
+ digital_dxpsk_mod
id
- gr_sig_source_x_0
+ digital_dxpsk_mod_1
_enabled
@@ -177,31 +193,31 @@
type
- float
+ dbpsk
- samp_rate
- samp_rate
+ samples_per_symbol
+ 2
- waveform
- gr.GR_COS_WAVE
+ excess_bw
+ 0.35
- freq
- freq
+ gray_coded
+ True
- amp
- 1
+ verbose
+ False
- offset
- 0
+ log
+ False
_coordinate
- (203, 8)
+ (745, 16)
_rotation
@@ -209,10 +225,10 @@
- blks2_packet_decoder
+ gr_throttle
id
- blks2_packet_decoder_0
+ gr_throttle_0_0
_enabled
@@ -223,16 +239,16 @@
float
- access_code
-
+ samples_per_second
+ samp_rate
- threshold
- -1
+ vlen
+ 1
_coordinate
- (551, 65)
+ (358, 39)
_rotation
@@ -240,10 +256,10 @@
- digital_dxpsk_demod
+ blks2_packet_encoder
id
- digital_dxpsk_demod_0
+ blks2_packet_encoder_0
_enabled
@@ -251,51 +267,31 @@
type
- dbpsk
+ float
samples_per_symbol
2
- excess_bw
- 0.35
-
-
- freq_bw
- 6.28/100.0
-
-
- phase_bw
- 6.28/100.0
-
-
- timing_bw
- 6.28/100.0
+ bits_per_symbol
+ 1
- omega_relative_limit
- 0.005
+ access_code
+
- gray_coded
+ pad_for_usrp
True
- verbose
- False
-
-
- log
- False
-
-
- sync_out
- False
+ payload_length
+ 0
_coordinate
- (639, 254)
+ (541, 9)
_rotation
@@ -303,10 +299,10 @@
- digital_dxpsk_mod
+ digital_dxpsk_demod
id
- digital_dxpsk_mod_0
+ digital_dxpsk_demod_1
_enabled
@@ -324,6 +320,22 @@
excess_bw
0.35
+
+ freq_bw
+ 6.28/100.0
+
+
+ phase_bw
+ 6.28/100.0
+
+
+ timing_bw
+ 6.28/100.0
+
+
+ omega_relative_limit
+ 0.005
+
gray_coded
True
@@ -336,20 +348,24 @@
log
False
+
+ sync_out
+ False
+
_coordinate
- (421, 294)
+ (746, 135)
_rotation
- 0
+ 180
- blks2_packet_encoder
+ blks2_packet_decoder
id
- blks2_packet_encoder_0
+ blks2_packet_decoder_0
_enabled
@@ -359,33 +375,21 @@
type
float
-
- samples_per_symbol
- 2
-
-
- bits_per_symbol
- 1
-
access_code
- pad_for_usrp
- True
-
-
- payload_length
- 0
+ threshold
+ -1
_coordinate
- (216, 286)
+ (545, 187)
_rotation
- 0
+ 180
@@ -456,46 +460,46 @@
_coordinate
- (760, 41)
+ (184, 165)
_rotation
- 0
+ 180
- gr_sig_source_x_0
- gr_throttle_0_0
+ blks2_packet_decoder_0
+ wxgui_scopesink2_0
0
0
- gr_throttle_0_0
- blks2_packet_encoder_0
+ blks2_packet_encoder_0
+ digital_dxpsk_mod_1
0
0
- blks2_packet_decoder_0
- wxgui_scopesink2_0
+ digital_dxpsk_mod_1
+ digital_dxpsk_demod_1
0
0
- digital_dxpsk_demod_0
+ digital_dxpsk_demod_1
blks2_packet_decoder_0
0
0
- digital_dxpsk_mod_0
- digital_dxpsk_demod_0
+ gr_throttle_0_0
+ blks2_packet_encoder_0
0
0
- blks2_packet_encoder_0
- digital_dxpsk_mod_0
+ gr_sig_source_x_0
+ gr_throttle_0_0
0
0
diff --git a/gr-digital/examples/demod/mpsk_demod.grc b/gr-digital/examples/demod/mpsk_demod.grc
index d7cca9661..b718fb68a 100644
--- a/gr-digital/examples/demod/mpsk_demod.grc
+++ b/gr-digital/examples/demod/mpsk_demod.grc
@@ -1,6 +1,6 @@
- Tue Apr 3 18:01:57 2012
+ Thu Jul 5 16:28:45 2012
options
@@ -43,6 +43,10 @@
run
True
+
+ max_nouts
+ 0
+
realtime_scheduling
@@ -404,6 +408,10 @@
notebook
notebook, 1
+
+ freqvar
+ None
+
_coordinate
(847, 10)
diff --git a/gr-digital/examples/demod/pam_sync.grc b/gr-digital/examples/demod/pam_sync.grc
index 8571995a5..f870a0b06 100644
--- a/gr-digital/examples/demod/pam_sync.grc
+++ b/gr-digital/examples/demod/pam_sync.grc
@@ -1,6 +1,6 @@
- Sat Mar 6 17:17:22 2010
+ Thu Jul 5 17:54:54 2012
options
@@ -43,13 +43,17 @@
run
True
+
+ max_nouts
+ 0
+
realtime_scheduling
_coordinate
- (10, 10)
+ (-1, 0)
_rotation
@@ -57,18 +61,22 @@
- gr_uchar_to_float
+ variable
id
- gr_uchar_to_float_0
+ const
_enabled
True
+
+ value
+ digital.qpsk_constellation()
+
_coordinate
- (217, 108)
+ (336, -2)
_rotation
@@ -76,18 +84,22 @@
- gr_uchar_to_float
+ variable
id
- gr_uchar_to_float_0_0
+ rrctaps
_enabled
True
+
+ value
+ firdes.root_raised_cosine(nfilts,1.0,1.0/(spb*nfilts), rolloff, int(11*spb*nfilts))
+
_coordinate
- (216, 273)
+ (686, -1)
_rotation
@@ -98,7 +110,7 @@
variable
id
- samp_rate
+ rolloff
_enabled
@@ -106,11 +118,11 @@
value
- 32000
+ 0.35
_coordinate
- (128, 9)
+ (607, -1)
_rotation
@@ -118,54 +130,68 @@
- variable_slider
+ variable
id
- freq_offset
+ spb
_enabled
True
- label
- Frequency Offset
+ value
+ 4.0
- value
+ _coordinate
+ (542, -1)
+
+
+ _rotation
0
+
+
+ variable
+
+ id
+ sig_amp
+
- min
- -0.5
+ _enabled
+ True
- max
- 0.5
+ value
+ 1.0
- num_steps
- 1000
+ _coordinate
+ (861, 0)
- style
- wx.SL_HORIZONTAL
+ _rotation
+ 0
+
+
+ virtual_sink
- converver
- float_converter
+ id
+ virtual_sink_0
- grid_pos
-
+ _enabled
+ True
- notebook
-
+ stream_id
+ input_signal_probe
_coordinate
- (293, 684)
+ (330, 183)
_rotation
@@ -173,10 +199,10 @@
- random_source_x
+ gr_pfb_clock_sync_xxx
id
- random_source_x_0
+ gr_pfb_clock_sync_xxx_0
_enabled
@@ -184,27 +210,43 @@
type
- byte
+ ccf
- min
- 0
+ sps
+ spb
- max
- pam_amp
+ alpha
+ time_alpha
- num_samps
- 10000
+ beta
+ time_beta
- repeat
- True
+ taps
+ rrctaps
+
+
+ filter_size
+ nfilts
+
+
+ init_phase
+ 16
+
+
+ max_dev
+ 1.5
+
+
+ osps
+ 1
_coordinate
- (13, 80)
+ (598, 241)
_rotation
@@ -212,10 +254,10 @@
- random_source_x
+ digital_fll_band_edge_cc
id
- random_source_x_0_0
+ digital_fll_band_edge_cc_0
_enabled
@@ -223,27 +265,27 @@
type
- byte
+ cc
- min
- 0
+ samps_per_sym
+ spb
- max
- pam_amp
+ rolloff
+ rolloff
- num_samps
- 10000
+ filter_size
+ 44
- repeat
- True
+ w
+ freq_bw
_coordinate
- (15, 245)
+ (331, 239)
_rotation
@@ -251,26 +293,22 @@
- const_source_x
+ variable
id
- const_source_x_0
+ nfilts
_enabled
True
- type
- float
-
-
- const
- -0.5*(pam_amp-1)
+ value
+ 32
_coordinate
- (213, 197)
+ (598, 186)
_rotation
@@ -278,26 +316,22 @@
- const_source_x
+ variable
id
- const_source_x_0_0
+ samp_rate
_enabled
True
- type
- float
-
-
- const
- -0.5*(pam_amp-1)
+ value
+ 128000
_coordinate
- (200, 360)
+ (193, -1)
_rotation
@@ -305,10 +339,10 @@
- gr_add_xx
+ random_source_x
id
- gr_add_xx_0
+ random_source_x
_enabled
@@ -316,19 +350,27 @@
type
- float
+ byte
- num_inputs
- 2
+ min
+ 0
- vlen
- 1
+ max
+ const.arity()
+
+
+ num_samps
+ 10000000
+
+
+ repeat
+ True
_coordinate
- (440, 167)
+ (0, 72)
_rotation
@@ -336,30 +378,38 @@
- gr_add_xx
+ gr_chunks_to_symbols_xx
id
- gr_add_xx_0_1
+ gr_chunks_to_symbols_xx
_enabled
True
- type
- float
+ in_type
+ byte
- num_inputs
- 2
+ out_type
+ complex
- vlen
+ symbol_table
+ const.points()
+
+
+ dimension
+ 1
+
+
+ num_ports
1
_coordinate
- (430, 330)
+ (196, 87)
_rotation
@@ -367,22 +417,30 @@
- variable
+ blks2_pfb_arb_resampler_ccf
id
- nfilts
+ blks2_pfb_arb_resampler_ccf_0
_enabled
True
- value
+ rate
+ spb
+
+
+ taps
+ firdes.root_raised_cosine(32, 32, 1.0, 0.35, 44*32)
+
+
+ size
32
_coordinate
- (435, 686)
+ (435, 80)
_rotation
@@ -390,54 +448,38 @@
- variable_slider
+ gr_channel_model
id
- noise_amp
+ gr_channel_model_0
_enabled
True
- label
- Channel Noise
+ noise_voltage
+ noise_amp
- value
- 0
+ freq_offset
+ freq_offset
- min
- 0
+ epsilon
+ interpratio
- max
+ taps
1.0
- num_steps
- 1000
-
-
- style
- wx.SL_HORIZONTAL
-
-
- converver
- float_converter
-
-
- grid_pos
-
-
-
- notebook
-
+ seed
+ 42
_coordinate
- (168, 684)
+ (46, 183)
_rotation
@@ -445,319 +487,84 @@
- variable_slider
+ gr_multiply_const_vxx
id
- interpratio
+ gr_multiply_const_vxx_0
_enabled
True
- label
- Timing Offset
+ type
+ complex
- value
- 1.00
+ const
+ sig_amp
- min
- 0.99
+ vlen
+ 1
- max
- 1.01
+ _coordinate
+ (659, 95)
- num_steps
- 1000
+ _rotation
+ 0
+
+
+ gr_throttle
- style
- wx.SL_HORIZONTAL
+ id
+ gr_throttle_0
- converver
- float_converter
+ _enabled
+ True
- grid_pos
-
+ type
+ complex
- notebook
-
+ samples_per_second
+ samp_rate
+
+
+ vlen
+ 1
_coordinate
- (40, 684)
+ (857, 95)
_rotation
- 180
+ 0
- variable
-
- id
- pam_amp
-
-
- _enabled
- True
-
-
- value
- 2
-
-
- _coordinate
- (223, 9)
-
-
- _rotation
- 0
-
-
-
- variable
-
- id
- sig_amp
-
-
- _enabled
- True
-
-
- value
- 1
-
-
- _coordinate
- (315, 9)
-
-
- _rotation
- 0
-
-
-
- variable
-
- id
- rolloff
-
-
- _enabled
- True
-
-
- value
- 0.35
-
-
- _coordinate
- (397, 9)
-
-
- _rotation
- 0
-
-
-
- gr_throttle
-
- id
- gr_throttle_0
-
-
- _enabled
- True
-
-
- type
- complex
-
-
- samples_per_second
- samp_rate
-
-
- vlen
- 1
-
-
- _coordinate
- (253, 575)
-
-
- _rotation
- 0
-
-
-
- variable_slider
-
- id
- time_beta
-
-
- _enabled
- True
-
-
- label
- Timing Beta
-
-
- value
- 0
-
-
- min
- 0.0
-
-
- max
- 0.1
-
-
- num_steps
- 1000
-
-
- style
- wx.SL_HORIZONTAL
-
-
- converver
- float_converter
-
-
- grid_pos
-
-
-
- notebook
-
-
-
- _coordinate
- (606, 8)
-
-
- _rotation
- 180
-
-
-
- variable_slider
-
- id
- time_alpha
-
-
- _enabled
- True
-
-
- label
- Timing Alpha
-
-
- value
- 0
-
-
- min
- 0
-
-
- max
- 1
-
-
- num_steps
- 1000
-
-
- style
- wx.SL_HORIZONTAL
-
-
- converver
- float_converter
-
-
- grid_pos
-
-
-
- notebook
-
-
-
- _coordinate
- (490, 8)
-
-
- _rotation
- 0
-
-
-
- variable_slider
+ virtual_source
id
- phase_alpha
+ virtual_source_0
_enabled
True
- label
- Phase Alpha
-
-
- value
- 0
-
-
- min
- 0
-
-
- max
- 0.1
-
-
- num_steps
- 1000
-
-
- style
- wx.SL_HORIZONTAL
-
-
- converver
- float_converter
-
-
- grid_pos
-
-
-
- notebook
-
+ stream_id
+ input_signal_probe
_coordinate
- (953, 8)
+ (835, 562)
_rotation
@@ -765,85 +572,18 @@
- variable_slider
+ digital_costas_loop_cc
id
- phase_beta
+ digital_costas_loop_cc_0
_enabled
True
- label
- Phase Beta
-
-
- value
- 0
-
-
- min
- 0.0
-
-
- max
- 0.01
-
-
- num_steps
- 1000
-
-
- style
- wx.SL_HORIZONTAL
-
-
- converver
- float_converter
-
-
- grid_pos
-
-
-
- notebook
-
-
-
- _coordinate
- (1066, 8)
-
-
- _rotation
- 180
-
-
-
- gr_costas_loop_cc
-
- id
- gr_costas_loop_cc_0
-
-
- _enabled
- True
-
-
- alpha
- phase_alpha
-
-
- beta
- phase_beta
-
-
- max_freq
- 0.2
-
-
- min_freq
- -0.2
+ w
+ phase_bw
order
@@ -851,7 +591,7 @@
_coordinate
- (915, 560)
+ (866, 246)
_rotation
@@ -862,7 +602,7 @@
wxgui_scopesink2
id
- wxgui_scopesink2_0
+ wxgui_scopesink2_0_0_1
_enabled
@@ -874,7 +614,7 @@
title
- Input Signal
+ Pre-sync Signal
samp_rate
@@ -882,7 +622,7 @@
v_scale
- 0
+ .5
v_offset
@@ -914,34 +654,19 @@
notebook
- notebook_0,0
-
-
- _coordinate
- (1116, 559)
-
-
- _rotation
- 0
-
-
-
- variable
-
- id
- rrctaps
+ notebook_0,1
- _enabled
- True
+ trig_mode
+ gr.gr_TRIG_MODE_AUTO
- value
- firdes.root_raised_cosine(nfilts,1.0,1.0/(spb*nfilts), rolloff, int(11*spb*nfilts))
+ y_axis_label
+ Counts
_coordinate
- (436, 755)
+ (1081, 439)
_rotation
@@ -949,85 +674,70 @@
- notebook
+ wxgui_fftsink2
id
- notebook_0
+ wxgui_fftsink2_0
_enabled
True
- style
- wx.NB_TOP
-
-
- labels
- ['Output Signal', 'Input Signal']
-
-
- grid_pos
-
+ type
+ complex
- notebook
-
+ title
+ Received spectrum
- _coordinate
- (203, 823)
+ samp_rate
+ samp_rate
- _rotation
+ baseband_freq
0
-
-
- wxgui_scopesink2
-
- id
- wxgui_scopesink2_0_0_1
-
- _enabled
- True
+ y_per_div
+ 10
- type
- complex
+ y_divs
+ 10
- title
- Input Signal
+ ref_level
+ 10
- samp_rate
- samp_rate
+ ref_scale
+ 2.0
- v_scale
- .5
+ fft_size
+ 1024
- v_offset
- 0
+ fft_rate
+ 30
- t_scale
- 0
+ peak_hold
+ False
- ac_couple
+ average
False
- xy_mode
- False
+ avg_alpha
+ 0
- num_inputs
- 1
+ win
+ None
win_size
@@ -1041,9 +751,13 @@
notebook
notebook_0,1
+
+ freqvar
+ None
+
_coordinate
- (975, 312)
+ (1081, 563)
_rotation
@@ -1054,7 +768,7 @@
wxgui_fftsink2
id
- wxgui_fftsink2_0
+ wxgui_fftsink2_0_0
_enabled
@@ -1066,7 +780,7 @@
title
- Input Frequency
+ Post-sync spectrum
samp_rate
@@ -1126,195 +840,200 @@
notebook
- notebook_0,1
+ notebook_0,0
+
+
+ freqvar
+ None
_coordinate
- (1116, 355)
+ (347, 516)
_rotation
- 0
+ 180
- virtual_source
+ wxgui_scopesink2
id
- virtual_source_0
+ wxgui_scopesink2_0
_enabled
True
- stream_id
- input_signal_probe
+ type
+ complex
- _coordinate
- (801, 453)
+ title
+ Post-sync Signal
- _rotation
- 0
+ samp_rate
+ samp_rate
-
-
- virtual_sink
- id
- virtual_sink_0
+ v_scale
+ 0
- _enabled
- True
+ v_offset
+ 0
- stream_id
- input_signal_probe
+ t_scale
+ 0
- _coordinate
- (280, 475)
+ ac_couple
+ False
- _rotation
- 0
+ xy_mode
+ True
-
-
- wxgui_fftsink2
- id
- wxgui_fftsink2_0_0
+ num_inputs
+ 1
- _enabled
- True
+ win_size
+
- type
- complex
+ grid_pos
+
- title
- Output Frequency
+ notebook
+ notebook_0,0
- samp_rate
- samp_rate
+ trig_mode
+ gr.gr_TRIG_MODE_AUTO
- baseband_freq
- 0
+ y_axis_label
+ Counts
- y_per_div
- 10
+ _coordinate
+ (1085, 213)
- y_divs
- 10
+ _rotation
+ 0
+
+
+ variable_slider
- ref_level
- 10
+ id
+ freq_bw
- ref_scale
- 2.0
+ _enabled
+ True
- fft_size
- 1024
+ label
+ FLL Bandwidth
- fft_rate
- 30
+ value
+ 0
- peak_hold
- False
+ min
+ 0.0
- average
- False
+ max
+ 0.05
- avg_alpha
- 0
+ num_steps
+ 1000
- win
- None
+ style
+ wx.SL_HORIZONTAL
-
- win_size
-
+
+ converver
+ float_converter
grid_pos
-
+ (4,2,1,1)
notebook
- notebook_0,0
+
_coordinate
- (663, 687)
+ (341, 373)
_rotation
- 0
+ 180
- gr_pfb_clock_sync_xxx
+ variable_slider
id
- gr_pfb_clock_sync_xxx_0
+ time_alpha
_enabled
True
- type
- ccf
+ label
+ Timing Alpha
- sps
- spb
+ value
+ 0
- alpha
- time_alpha
+ min
+ 0
- beta
- time_beta
+ max
+ 1
- taps
- rrctaps
+ num_steps
+ 1000
- filter_size
- nfilts
+ style
+ wx.SL_HORIZONTAL
- init_phase
- 16
+ converver
+ float_converter
- max_dev
- 1.5
+ grid_pos
+ (5,2,1,1)
+
+
+ notebook
+
_coordinate
- (662, 527)
+ (598, 388)
_rotation
@@ -1322,92 +1041,109 @@
- gr_float_to_complex
+ variable_slider
id
- gr_float_to_complex_0
+ time_beta
_enabled
True
- vlen
- 1
-
-
- _coordinate
- (592, 184)
+ label
+ Timing Beta
- _rotation
+ value
0
-
-
- gr_channel_model
- id
- gr_channel_model_0
+ min
+ 0.0
- _enabled
- True
+ max
+ 0.1
- noise_voltage
- noise_amp
+ num_steps
+ 1000
- freq_offset
- freq_offset
+ style
+ wx.SL_HORIZONTAL
- epsilon
- interpratio
+ converver
+ float_converter
- taps
- 1.0
+ grid_pos
+ (6,2,1,1)
- seed
- 42
+ notebook
+
_coordinate
- (60, 443)
+ (708, 388)
_rotation
- 0
+ 180
- gr_multiply_const_vxx
+ variable_slider
id
- gr_multiply_const_vxx_0
+ phase_bw
_enabled
True
- type
- complex
+ label
+ Costas Loop (Phase) Bandwidth
- const
- sig_amp
+ value
+ 0
- vlen
- 1
+ min
+ 0
+
+
+ max
+ 0.1
+
+
+ num_steps
+ 1000
+
+
+ style
+ wx.SL_HORIZONTAL
+
+
+ converver
+ float_converter
+
+
+ grid_pos
+ (7,2,1,1)
+
+
+ notebook
+
_coordinate
- (670, 322)
+ (866, 313)
_rotation
@@ -1415,30 +1151,34 @@
- blks2_pfb_arb_resampler_ccf
+ notebook
id
- blks2_pfb_arb_resampler_ccf_0
+ notebook_0
_enabled
True
- rate
- spb
+ style
+ wx.NB_TOP
- taps
- firdes.root_raised_cosine(32, 32, 1.0, 0.35, 44*32)
+ labels
+ ['Synched Signal', 'Received Signal']
- size
- 32
+ grid_pos
+ (1,1,8,1)
+
+
+ notebook
+
_coordinate
- (778, 180)
+ (9, 601)
_rotation
@@ -1446,76 +1186,65 @@
- gr_fll_band_edge_cc
+ variable_slider
id
- gr_fll_band_edge_cc_0
+ interpratio
_enabled
True
- type
- cc
-
-
- samps_per_sym
- spb
-
-
- rolloff
- rolloff
+ label
+ Timing Offset
- filter_size
- 44
+ value
+ 1.00
- alpha
- freq_alpha
+ min
+ 0.99
- beta
- freq_beta
+ max
+ 1.01
- _coordinate
- (429, 528)
+ num_steps
+ 1000
- _rotation
- 0
+ style
+ wx.SL_HORIZONTAL
-
-
- variable
- id
- spb
+ converver
+ float_converter
- _enabled
- True
+ grid_pos
+ (3,2,1,1)
- value
- 4.0
+ notebook
+
_coordinate
- (40, 829)
+ (60, 407)
_rotation
- 0
+ 180
variable_slider
id
- freq_alpha
+ noise_amp
_enabled
@@ -1523,7 +1252,7 @@
label
- Freq Alpha
+ Channel Noise
value
@@ -1535,7 +1264,7 @@
max
- 0.1
+ 1.0
num_steps
@@ -1551,7 +1280,7 @@
grid_pos
-
+ (1,2,1,1)
notebook
@@ -1559,7 +1288,7 @@
_coordinate
- (734, 10)
+ (125, 284)
_rotation
@@ -1570,7 +1299,7 @@
variable_slider
id
- freq_beta
+ freq_offset
_enabled
@@ -1578,7 +1307,7 @@
label
- Freq Beta
+ Frequency Offset
value
@@ -1586,11 +1315,11 @@
min
- 0.0
+ -0.5
max
- 0.01
+ 0.5
num_steps
@@ -1606,7 +1335,7 @@
grid_pos
-
+ (2,2,1,1)
notebook
@@ -1614,103 +1343,61 @@
_coordinate
- (836, 9)
+ (6, 284)
_rotation
- 180
+ 0
-
- random_source_x_0
- gr_uchar_to_float_0
- 0
- 0
-
-
- gr_uchar_to_float_0_0
- gr_add_xx_0_1
- 0
- 0
-
-
- const_source_x_0_0
- gr_add_xx_0_1
- 0
- 1
-
-
- random_source_x_0_0
- gr_uchar_to_float_0_0
- 0
- 0
-
gr_channel_model_0
- gr_throttle_0
+ virtual_sink_0
0
0
- gr_add_xx_0
- gr_float_to_complex_0
+ digital_fll_band_edge_cc_0
+ gr_pfb_clock_sync_xxx_0
0
0
- gr_add_xx_0_1
- gr_float_to_complex_0
- 0
- 1
-
-
- gr_uchar_to_float_0
- gr_add_xx_0
+ gr_pfb_clock_sync_xxx_0
+ digital_costas_loop_cc_0
0
0
- const_source_x_0
- gr_add_xx_0
- 0
- 1
-
-
- gr_throttle_0
- gr_fll_band_edge_cc_0
+ digital_costas_loop_cc_0
+ wxgui_scopesink2_0
0
0
- gr_fll_band_edge_cc_0
- gr_pfb_clock_sync_xxx_0
+ blks2_pfb_arb_resampler_ccf_0
+ gr_multiply_const_vxx_0
0
0
- gr_pfb_clock_sync_xxx_0
- gr_costas_loop_cc_0
+ gr_chunks_to_symbols_xx
+ blks2_pfb_arb_resampler_ccf_0
0
0
- gr_costas_loop_cc_0
- wxgui_scopesink2_0
+ gr_channel_model_0
+ digital_fll_band_edge_cc_0
0
0
- gr_fll_band_edge_cc_0
+ digital_fll_band_edge_cc_0
wxgui_fftsink2_0_0
0
0
-
- virtual_source_0
- wxgui_scopesink2_0_0_1
- 0
- 0
-
virtual_source_0
wxgui_fftsink2_0
@@ -1718,26 +1405,26 @@
0
- gr_channel_model_0
- virtual_sink_0
+ virtual_source_0
+ wxgui_scopesink2_0_0_1
0
0
- gr_float_to_complex_0
- blks2_pfb_arb_resampler_ccf_0
+ random_source_x
+ gr_chunks_to_symbols_xx
0
0
- blks2_pfb_arb_resampler_ccf_0
- gr_multiply_const_vxx_0
+ gr_throttle_0
+ gr_channel_model_0
0
0
gr_multiply_const_vxx_0
- gr_channel_model_0
+ gr_throttle_0
0
0
diff --git a/gr-digital/examples/demod/pam_timing.grc b/gr-digital/examples/demod/pam_timing.grc
index 02130f481..14a7d403e 100644
--- a/gr-digital/examples/demod/pam_timing.grc
+++ b/gr-digital/examples/demod/pam_timing.grc
@@ -1,6 +1,6 @@
- Mon Feb 1 18:54:46 2010
+ Thu Jul 5 17:55:51 2012
options
@@ -43,6 +43,10 @@
run
True
+
+ max_nouts
+ 0
+
realtime_scheduling
@@ -748,6 +752,14 @@
notebook
+
+ trig_mode
+ gr.gr_TRIG_MODE_AUTO
+
+
+ y_axis_label
+ Counts
+
_coordinate
(1116, 500)
@@ -792,7 +804,7 @@
wxgui_scopesink2
id
- wxgui_scopesink2_0_0
+ wxgui_scopesink2_0_0_0
_enabled
@@ -804,7 +816,7 @@
title
- Error
+ Scope Plot
samp_rate
@@ -812,7 +824,7 @@
v_scale
- 3
+ 9
v_offset
@@ -844,11 +856,42 @@
notebook
- notebook_0,0
+ notebook_0,1
+
+
+ trig_mode
+ gr.gr_TRIG_MODE_AUTO
+
+
+ y_axis_label
+ Counts
_coordinate
- (1110, 651)
+ (1112, 881)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ rrctaps
+
+
+ _enabled
+ True
+
+
+ value
+ firdes.root_raised_cosine(nfilts,1.0,1.0/(spb*nfilts), .35, int(11*spb*nfilts))
+
+
+ _coordinate
+ (513, 679)
_rotation
@@ -859,7 +902,7 @@
wxgui_scopesink2
id
- wxgui_scopesink2_0_0_0
+ wxgui_scopesink2_0_0_1
_enabled
@@ -867,11 +910,11 @@
type
- float
+ complex
title
- Scope Plot
+ Error
samp_rate
@@ -879,7 +922,7 @@
v_scale
- 9
+ .5
v_offset
@@ -911,11 +954,19 @@
notebook
- notebook_0,1
+ notebook_0,3
+
+
+ trig_mode
+ gr.gr_TRIG_MODE_AUTO
+
+
+ y_axis_label
+ Counts
_coordinate
- (1112, 881)
+ (1115, 358)
_rotation
@@ -923,22 +974,22 @@
- variable
+ gr_float_to_complex
id
- rrctaps
+ gr_float_to_complex_0
_enabled
True
- value
- firdes.root_raised_cosine(nfilts,1.0,1.0/(spb*nfilts), .35, int(11*spb*nfilts))
+ vlen
+ 1
_coordinate
- (513, 679)
+ (590, 184)
_rotation
@@ -946,50 +997,69 @@
- gr_pfb_clock_sync_xxx
+ blks2_pfb_arb_resampler_ccf
id
- gr_pfb_clock_sync_xxx_0
+ blks2_pfb_arb_resampler_ccf_0
_enabled
True
- type
- ccf
+ rate
+ spb
- sps
- spb
+ taps
+ firdes.root_raised_cosine(32, 32, 1.0, 0.35, 44*32)
- alpha
- alpha
+ size
+ 32
- beta
- beta
+ _coordinate
+ (816, 181)
- taps
- rrctaps
+ _rotation
+ 0
+
+
+ gr_channel_model
- filter_size
- nfilts
+ id
+ gr_channel_model_0
- init_phase
- 16
+ _enabled
+ True
- max_dev
- 1.5
+ noise_voltage
+ noise_amp
+
+
+ freq_offset
+ freq_offset
+
+
+ epsilon
+ interpratio
+
+
+ taps
+ 1.0
+
+
+ seed
+ 42
_coordinate
- (512, 527)
+ (59, 543)
_rotation
@@ -997,10 +1067,10 @@
- wxgui_scopesink2
+ gr_multiply_const_vxx
id
- wxgui_scopesink2_0_0_0_0
+ gr_multiply_const_vxx_0
_enabled
@@ -1008,55 +1078,97 @@
type
- float
+ complex
- title
- Scope Plot
+ const
+ sig_amp
- samp_rate
- samp_rate
+ vlen
+ 1
- v_scale
- 1.25
+ _coordinate
+ (714, 382)
- v_offset
+ _rotation
0
+
+
+ variable
- t_scale
+ id
+ spb
+
+
+ _enabled
+ True
+
+
+ value
+ 4.2563
+
+
+ _coordinate
+ (42, 840)
+
+
+ _rotation
0
+
+
+ gr_pfb_clock_sync_xxx
- ac_couple
- False
+ id
+ gr_pfb_clock_sync_xxx_0
- xy_mode
- False
+ _enabled
+ True
- num_inputs
- 1
+ type
+ ccf
- win_size
-
+ sps
+ spb
- grid_pos
-
+ alpha
+ alpha
- notebook
- notebook_0,2
+ beta
+ beta
+
+
+ taps
+ rrctaps
+
+
+ filter_size
+ nfilts
+
+
+ init_phase
+ 16
+
+
+ max_dev
+ 1.5
+
+
+ osps
+ 1
_coordinate
- (1111, 767)
+ (512, 527)
_rotation
@@ -1067,7 +1179,7 @@
wxgui_scopesink2
id
- wxgui_scopesink2_0_0_1
+ wxgui_scopesink2_0_0
_enabled
@@ -1075,7 +1187,7 @@
type
- complex
+ float
title
@@ -1087,7 +1199,7 @@
v_scale
- .5
+ 3
v_offset
@@ -1119,34 +1231,19 @@
notebook
- notebook_0,3
-
-
- _coordinate
- (1115, 358)
-
-
- _rotation
- 0
-
-
-
- gr_float_to_complex
-
- id
- gr_float_to_complex_0
+ notebook_0,0
- _enabled
- True
+ trig_mode
+ gr.gr_TRIG_MODE_AUTO
- vlen
- 1
+ y_axis_label
+ Counts
_coordinate
- (590, 184)
+ (1114, 615)
_rotation
@@ -1154,123 +1251,74 @@
- blks2_pfb_arb_resampler_ccf
+ wxgui_scopesink2
id
- blks2_pfb_arb_resampler_ccf_0
+ wxgui_scopesink2_0_0_0_0
_enabled
True
- rate
- spb
+ type
+ float
- taps
- firdes.root_raised_cosine(32, 32, 1.0, 0.35, 44*32)
+ title
+ Scope Plot
- size
- 32
+ samp_rate
+ samp_rate
- _coordinate
- (816, 181)
+ v_scale
+ 1.25
- _rotation
+ v_offset
0
-
-
- gr_channel_model
-
- id
- gr_channel_model_0
-
-
- _enabled
- True
-
-
- noise_voltage
- noise_amp
-
- freq_offset
- freq_offset
-
-
- epsilon
- interpratio
-
-
- taps
- 1.0
-
-
- seed
- 42
-
-
- _coordinate
- (59, 543)
-
-
- _rotation
+ t_scale
0
-
-
- gr_multiply_const_vxx
- id
- gr_multiply_const_vxx_0
-
-
- _enabled
- True
-
-
- type
- complex
+ ac_couple
+ False
- const
- sig_amp
+ xy_mode
+ False
- vlen
+ num_inputs
1
- _coordinate
- (714, 382)
+ win_size
+
- _rotation
- 0
+ grid_pos
+
-
-
- variable
- id
- spb
+ notebook
+ notebook_0,2
- _enabled
- True
+ trig_mode
+ gr.gr_TRIG_MODE_AUTO
- value
- 4.2563
+ y_axis_label
+ Counts
_coordinate
- (42, 840)
+ (1080, 751)
_rotation
--
cgit