From faab807cf5e8b4a4c950d1fd8ae6672296fb1ad9 Mon Sep 17 00:00:00 2001
From: Tom Rondeau
Date: Tue, 3 Apr 2012 18:21:52 -0400
Subject: Rework example directories. Gets rid of gnuradio-examples, moves
these to more appropriate components.
gnuradio-core and grc now have their own examples directories for files directly related to them.
---
gr-digital/examples/demod/ber_simulation.grc | 651 +++++++++
gr-digital/examples/demod/digital_freq_lock.grc | 1321 +++++++++++++++++
gr-digital/examples/demod/dpsk_loopback.grc | 502 +++++++
gr-digital/examples/demod/mpsk_demod.grc | 598 ++++++++
gr-digital/examples/demod/pam_sync.grc | 1744 +++++++++++++++++++++++
gr-digital/examples/demod/pam_timing.grc | 1388 ++++++++++++++++++
6 files changed, 6204 insertions(+)
create mode 100644 gr-digital/examples/demod/ber_simulation.grc
create mode 100644 gr-digital/examples/demod/digital_freq_lock.grc
create mode 100644 gr-digital/examples/demod/dpsk_loopback.grc
create mode 100644 gr-digital/examples/demod/mpsk_demod.grc
create mode 100644 gr-digital/examples/demod/pam_sync.grc
create mode 100644 gr-digital/examples/demod/pam_timing.grc
(limited to 'gr-digital/examples/demod')
diff --git a/gr-digital/examples/demod/ber_simulation.grc b/gr-digital/examples/demod/ber_simulation.grc
new file mode 100644
index 000000000..6a9361ed1
--- /dev/null
+++ b/gr-digital/examples/demod/ber_simulation.grc
@@ -0,0 +1,651 @@
+
+
+ Tue Apr 3 18:11:51 2012
+
+ options
+
+ id
+ ber_sim
+
+
+ _enabled
+ True
+
+
+ title
+ BER Simulation
+
+
+ author
+ Example
+
+
+ description
+ Adjust the noise and constellation... see what happens!
+
+
+ window_size
+ 1280, 1024
+
+
+ generate_options
+ wx_gui
+
+
+ category
+ Custom
+
+
+ run_options
+ prompt
+
+
+ run
+ True
+
+
+ realtime_scheduling
+
+
+
+ _coordinate
+ (16, 10)
+
+
+ _rotation
+ 0
+
+
+
+ gr_noise_source_x
+
+ id
+ gr_noise_source_x
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ noise_type
+ gr.GR_GAUSSIAN
+
+
+ amp
+ noise
+
+
+ seed
+ 42
+
+
+ _coordinate
+ (235, 379)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_numbersink2
+
+ id
+ wxgui_numbersink2
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ title
+ BER
+
+
+ units
+ %
+
+
+ samp_rate
+ samp_rate
+
+
+ min_value
+ 0.0
+
+
+ max_value
+ 1.0
+
+
+ factor
+ 100
+
+
+ decimal_places
+ 4
+
+
+ ref_level
+ 0
+
+
+ number_rate
+ 15
+
+
+ peak_hold
+ False
+
+
+ average
+ False
+
+
+ avg_alpha
+ 0
+
+
+ show_gauge
+ False
+
+
+ win_size
+
+
+
+ grid_pos
+ 1, 0, 1, 1
+
+
+ notebook
+
+
+
+ _coordinate
+ (1062, 11)
+
+
+ _rotation
+ 0
+
+
+
+ gr_throttle
+
+ id
+ gr_throttle
+
+
+ _enabled
+ True
+
+
+ type
+ byte
+
+
+ samples_per_second
+ samp_rate
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (397, 27)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ samp_rate
+
+
+ _enabled
+ True
+
+
+ value
+ 50e3
+
+
+ _coordinate
+ (20, 168)
+
+
+ _rotation
+ 0
+
+
+
+ import
+
+ id
+ import
+
+
+ _enabled
+ True
+
+
+ import
+ import math
+
+
+ _coordinate
+ (138, 168)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_scopesink2
+
+ id
+ wxgui_scopesink2_0
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ title
+ "Constellation: "+str(const)
+
+
+ samp_rate
+ samp_rate
+
+
+ v_scale
+ 0
+
+
+ v_offset
+ 0
+
+
+ t_scale
+ 0
+
+
+ ac_couple
+ False
+
+
+ xy_mode
+ True
+
+
+ num_inputs
+ 1
+
+
+ win_size
+
+
+
+ grid_pos
+ 2, 0, 1, 1
+
+
+ notebook
+
+
+
+ trig_mode
+ gr.gr_TRIG_MODE_AUTO
+
+
+ y_axis_label
+ Counts
+
+
+ _coordinate
+ (828, 368)
+
+
+ _rotation
+ 0
+
+
+
+ gr_add_xx
+
+ id
+ gr_add_xx
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ num_inputs
+ 2
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (652, 395)
+
+
+ _rotation
+ 0
+
+
+
+ digital_constellation_decoder_cb
+
+ id
+ digital_constellation_decoder_cb_0
+
+
+ _enabled
+ True
+
+
+ constellation
+ const.base()
+
+
+ _coordinate
+ (693, 205)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ const
+
+
+ _enabled
+ True
+
+
+ value
+ digital.qpsk_constellation()
+
+
+ _coordinate
+ (16, 461)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ const_points
+
+
+ _enabled
+ True
+
+
+ value
+ const.points()
+
+
+ _coordinate
+ (17, 532)
+
+
+ _rotation
+ 0
+
+
+
+ random_source_x
+
+ id
+ random_source_x
+
+
+ _enabled
+ True
+
+
+ type
+ byte
+
+
+ min
+ 0
+
+
+ max
+ len(const_points)
+
+
+ num_samps
+ 1000000
+
+
+ repeat
+ False
+
+
+ _coordinate
+ (15, 244)
+
+
+ _rotation
+ 0
+
+
+
+ gr_chunks_to_symbols_xx
+
+ id
+ gr_chunks_to_symbols_xx
+
+
+ _enabled
+ True
+
+
+ in_type
+ byte
+
+
+ out_type
+ complex
+
+
+ symbol_table
+ const_points
+
+
+ dimension
+ 1
+
+
+ num_ports
+ 1
+
+
+ _coordinate
+ (367, 260)
+
+
+ _rotation
+ 0
+
+
+
+ blks2_error_rate
+
+ id
+ blks2_error_rate
+
+
+ _enabled
+ True
+
+
+ type
+ 'BER'
+
+
+ win_size
+ 1000000
+
+
+ bits_per_symbol
+ int(math.log(len(const_points))/math.log(2))
+
+
+ _coordinate
+ (670, 41)
+
+
+ _rotation
+ 0
+
+
+
+ variable_slider
+
+ id
+ noise
+
+
+ _enabled
+ True
+
+
+ label
+ AWGN Noise
+
+
+ value
+ 0.10
+
+
+ min
+ 0
+
+
+ max
+ 1
+
+
+ num_steps
+ 100
+
+
+ style
+ wx.SL_HORIZONTAL
+
+
+ converver
+ float_converter
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (268, 481)
+
+
+ _rotation
+ 0
+
+
+
+ blks2_error_rate
+ wxgui_numbersink2
+ 0
+ 0
+
+
+ gr_throttle
+ blks2_error_rate
+ 0
+ 0
+
+
+ gr_chunks_to_symbols_xx
+ gr_add_xx
+ 0
+ 0
+
+
+ gr_noise_source_x
+ gr_add_xx
+ 0
+ 1
+
+
+ random_source_x
+ gr_throttle
+ 0
+ 0
+
+
+ random_source_x
+ gr_chunks_to_symbols_xx
+ 0
+ 0
+
+
+ gr_add_xx
+ wxgui_scopesink2_0
+ 0
+ 0
+
+
+ digital_constellation_decoder_cb_0
+ blks2_error_rate
+ 0
+ 1
+
+
+ gr_add_xx
+ digital_constellation_decoder_cb_0
+ 0
+ 0
+
+
diff --git a/gr-digital/examples/demod/digital_freq_lock.grc b/gr-digital/examples/demod/digital_freq_lock.grc
new file mode 100644
index 000000000..36037febb
--- /dev/null
+++ b/gr-digital/examples/demod/digital_freq_lock.grc
@@ -0,0 +1,1321 @@
+
+
+ Sat Mar 6 17:17:12 2010
+
+ options
+
+ id
+ top_block
+
+
+ _enabled
+ True
+
+
+ title
+
+
+
+ author
+
+
+
+ description
+
+
+
+ window_size
+ 1280, 1024
+
+
+ generate_options
+ wx_gui
+
+
+ category
+ Custom
+
+
+ run_options
+ prompt
+
+
+ run
+ True
+
+
+ realtime_scheduling
+
+
+
+ _coordinate
+ (10, 10)
+
+
+ _rotation
+ 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
+
+
+
+ _coordinate
+ (293, 684)
+
+
+ _rotation
+ 0
+
+
+
+ random_source_x
+
+ id
+ random_source_x_0
+
+
+ _enabled
+ True
+
+
+ type
+ byte
+
+
+ min
+ 0
+
+
+ max
+ pam_amp
+
+
+ num_samps
+ 10000
+
+
+ repeat
+ True
+
+
+ _coordinate
+ (13, 80)
+
+
+ _rotation
+ 0
+
+
+
+ random_source_x
+
+ id
+ random_source_x_0_0
+
+
+ _enabled
+ True
+
+
+ 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
+
+
+ type
+ float
+
+
+ const
+ -0.5*(pam_amp-1)
+
+
+ _coordinate
+ (213, 197)
+
+
+ _rotation
+ 0
+
+
+
+ const_source_x
+
+ id
+ const_source_x_0_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ const
+ -0.5*(pam_amp-1)
+
+
+ _coordinate
+ (200, 360)
+
+
+ _rotation
+ 0
+
+
+
+ gr_add_xx
+
+ id
+ gr_add_xx_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ num_inputs
+ 2
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (440, 167)
+
+
+ _rotation
+ 0
+
+
+
+ gr_add_xx
+
+ id
+ gr_add_xx_0_1
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ num_inputs
+ 2
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (430, 330)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ nfilts
+
+
+ _enabled
+ True
+
+
+ value
+ 32
+
+
+ _coordinate
+ (435, 686)
+
+
+ _rotation
+ 0
+
+
+
+ variable_slider
+
+ id
+ noise_amp
+
+
+ _enabled
+ True
+
+
+ label
+ Channel Noise
+
+
+ value
+ 0
+
+
+ min
+ 0
+
+
+ max
+ 1.0
+
+
+ num_steps
+ 1000
+
+
+ style
+ wx.SL_HORIZONTAL
+
+
+ converver
+ float_converter
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (168, 684)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ spb_gen
+
+
+ _enabled
+ True
+
+
+ value
+ 4
+
+
+ _coordinate
+ (119, 841)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ pam_amp
+
+
+ _enabled
+ True
+
+
+ value
+ 2
+
+
+ _coordinate
+ (223, 9)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ spb
+
+
+ _enabled
+ True
+
+
+ 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
+ 0
+
+
+
+ notebook
+
+ id
+ notebook_0
+
+
+ _enabled
+ True
+
+
+ style
+ wx.NB_TOP
+
+
+ labels
+ ['Freq', 'Time']
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (216, 845)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_scopesink2
+
+ id
+ wxgui_scopesink2_0
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ title
+ Signal into Receiver
+
+
+ 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
+ notebook_0,1
+
+
+ _coordinate
+ (1123, 392)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_fftsink2
+
+ id
+ wxgui_fftsink2_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
+
+
+ win
+ None
+
+
+ win_size
+
+
+
+ grid_pos
+
+
+
+ notebook
+ notebook_0,0
+
+
+ _coordinate
+ (1122, 473)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_scopesink2
+
+ id
+ wxgui_scopesink2_0_0
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ title
+ Frequency Corrected Signal
+
+
+ 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
+ notebook_0,1
+
+
+ _coordinate
+ (1122, 680)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_fftsink2
+
+ id
+ wxgui_fftsink2_0_0
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ title
+ Frequency Corrected Signal
+
+
+ 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
+
+
+ win
+ None
+
+
+ win_size
+
+
+
+ grid_pos
+
+
+
+ notebook
+ notebook_0,0
+
+
+ _coordinate
+ (1121, 762)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ samp_rate
+
+
+ _enabled
+ True
+
+
+ value
+ 32000
+
+
+ _coordinate
+ (128, 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
+ (398, 12)
+
+
+ _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
+ (826, 61)
+
+
+ _rotation
+ 0
+
+
+
+ root_raised_cosine_filter
+
+ id
+ root_raised_cosine_filter_0
+
+
+ _enabled
+ True
+
+
+ type
+ interp_fir_filter_ccf
+
+
+ decim
+ 1
+
+
+ interp
+ spb_gen
+
+
+ gain
+ 2*spb_gen
+
+
+ samp_rate
+ 1.0
+
+
+ sym_rate
+ 1./spb_gen
+
+
+ alpha
+ rolloff
+
+
+ ntaps
+ 44
+
+
+ _coordinate
+ (978, 157)
+
+
+ _rotation
+ 0
+
+
+
+ gr_fll_band_edge_cc
+
+ id
+ gr_fll_band_edge_cc_0
+
+
+ _enabled
+ True
+
+
+ type
+ cc
+
+
+ samps_per_sym
+ spb_gen
+
+
+ rolloff
+ rolloff
+
+
+ filter_size
+ 44
+
+
+ alpha
+ alpha
+
+
+ beta
+ beta
+
+
+ _coordinate
+ (874, 664)
+
+
+ _rotation
+ 0
+
+
+
+ gr_channel_model
+
+ id
+ gr_channel_model_0
+
+
+ _enabled
+ True
+
+
+ noise_voltage
+ noise_amp
+
+
+ freq_offset
+ freq_offset
+
+
+ epsilon
+ 1.0
+
+
+ taps
+ 1.0
+
+
+ seed
+ 42
+
+
+ _coordinate
+ (618, 376)
+
+
+ _rotation
+ 0
+
+
+
+ variable_slider
+
+ id
+ beta
+
+
+ _enabled
+ True
+
+
+ label
+ Freq Beta
+
+
+ value
+ 0
+
+
+ min
+ 0.0
+
+
+ max
+ 0.01
+
+
+ num_steps
+ 1000
+
+
+ style
+ wx.SL_HORIZONTAL
+
+
+ converver
+ float_converter
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (668, 5)
+
+
+ _rotation
+ 180
+
+
+
+ variable_slider
+
+ id
+ alpha
+
+
+ _enabled
+ True
+
+
+ label
+ Freq Alpha
+
+
+ value
+ 0
+
+
+ min
+ 0
+
+
+ max
+ 0.1
+
+
+ num_steps
+ 1000
+
+
+ style
+ wx.SL_HORIZONTAL
+
+
+ converver
+ float_converter
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (552, 4)
+
+
+ _rotation
+ 0
+
+
+
+ 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
+ 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_add_xx_0
+ gr_float_to_complex_0
+ 0
+ 0
+
+
+ gr_add_xx_0_1
+ gr_float_to_complex_0
+ 0
+ 1
+
+
+ gr_float_to_complex_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
+ 0
+ 0
+
+
+ gr_fll_band_edge_cc_0
+ wxgui_scopesink2_0_0
+ 0
+ 0
+
+
+ gr_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
new file mode 100644
index 000000000..aef6a7738
--- /dev/null
+++ b/gr-digital/examples/demod/dpsk_loopback.grc
@@ -0,0 +1,502 @@
+
+
+ Tue Apr 3 18:03:52 2012
+
+ options
+
+ id
+ dpsk_loopback
+
+
+ _enabled
+ True
+
+
+ title
+ DPSK Loopback
+
+
+ author
+ Example
+
+
+ description
+ gnuradio flow graph
+
+
+ window_size
+ 1280, 1024
+
+
+ generate_options
+ wx_gui
+
+
+ category
+ Custom
+
+
+ run_options
+ prompt
+
+
+ run
+ True
+
+
+ realtime_scheduling
+
+
+
+ _coordinate
+ (10, 10)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ samp_rate
+
+
+ _enabled
+ True
+
+
+ value
+ 10000
+
+
+ _coordinate
+ (10, 170)
+
+
+ _rotation
+ 0
+
+
+
+ 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
+ (12, 257)
+
+
+ _rotation
+ 0
+
+
+
+ gr_throttle
+
+ id
+ gr_throttle_0_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ samples_per_second
+ samp_rate
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (225, 174)
+
+
+ _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
+ (203, 8)
+
+
+ _rotation
+ 0
+
+
+
+ blks2_packet_decoder
+
+ id
+ blks2_packet_decoder_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ access_code
+
+
+
+ threshold
+ -1
+
+
+ _coordinate
+ (551, 65)
+
+
+ _rotation
+ 0
+
+
+
+ digital_dxpsk_demod
+
+ id
+ digital_dxpsk_demod_0
+
+
+ _enabled
+ True
+
+
+ type
+ dbpsk
+
+
+ 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
+
+
+ omega_relative_limit
+ 0.005
+
+
+ gray_coded
+ True
+
+
+ verbose
+ False
+
+
+ log
+ False
+
+
+ sync_out
+ False
+
+
+ _coordinate
+ (639, 254)
+
+
+ _rotation
+ 0
+
+
+
+ digital_dxpsk_mod
+
+ id
+ digital_dxpsk_mod_0
+
+
+ _enabled
+ True
+
+
+ type
+ dbpsk
+
+
+ samples_per_symbol
+ 2
+
+
+ excess_bw
+ 0.35
+
+
+ gray_coded
+ True
+
+
+ verbose
+ False
+
+
+ log
+ False
+
+
+ _coordinate
+ (421, 294)
+
+
+ _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
+ (216, 286)
+
+
+ _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
+ (760, 41)
+
+
+ _rotation
+ 0
+
+
+
+ gr_sig_source_x_0
+ gr_throttle_0_0
+ 0
+ 0
+
+
+ gr_throttle_0_0
+ blks2_packet_encoder_0
+ 0
+ 0
+
+
+ blks2_packet_decoder_0
+ wxgui_scopesink2_0
+ 0
+ 0
+
+
+ digital_dxpsk_demod_0
+ blks2_packet_decoder_0
+ 0
+ 0
+
+
+ digital_dxpsk_mod_0
+ digital_dxpsk_demod_0
+ 0
+ 0
+
+
+ blks2_packet_encoder_0
+ digital_dxpsk_mod_0
+ 0
+ 0
+
+
diff --git a/gr-digital/examples/demod/mpsk_demod.grc b/gr-digital/examples/demod/mpsk_demod.grc
new file mode 100644
index 000000000..d7cca9661
--- /dev/null
+++ b/gr-digital/examples/demod/mpsk_demod.grc
@@ -0,0 +1,598 @@
+
+
+ Tue Apr 3 18:01:57 2012
+
+ options
+
+ id
+ mpsk_demod
+
+
+ _enabled
+ True
+
+
+ title
+ MPSK Demod Demo
+
+
+ author
+
+
+
+ description
+
+
+
+ window_size
+ 1280, 1024
+
+
+ generate_options
+ wx_gui
+
+
+ category
+ Custom
+
+
+ run_options
+ prompt
+
+
+ run
+ True
+
+
+ realtime_scheduling
+
+
+
+ _coordinate
+ (10, 10)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ samp_rate
+
+
+ _enabled
+ True
+
+
+ value
+ 32000
+
+
+ _coordinate
+ (10, 170)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ samps_per_sym
+
+
+ _enabled
+ True
+
+
+ value
+ 4
+
+
+ _coordinate
+ (7, 89)
+
+
+ _rotation
+ 0
+
+
+
+ variable_slider
+
+ id
+ noise
+
+
+ _enabled
+ True
+
+
+ label
+ Noise
+
+
+ value
+ .1
+
+
+ min
+ 0
+
+
+ max
+ 1
+
+
+ num_steps
+ 100
+
+
+ style
+ wx.SL_HORIZONTAL
+
+
+ converver
+ float_converter
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (259, 353)
+
+
+ _rotation
+ 0
+
+
+
+ variable_slider
+
+ id
+ freq_off
+
+
+ _enabled
+ True
+
+
+ label
+ Freq Offset
+
+
+ value
+ 0
+
+
+ min
+ -.5
+
+
+ max
+ .5
+
+
+ num_steps
+ 1000
+
+
+ style
+ wx.SL_HORIZONTAL
+
+
+ converver
+ float_converter
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (126, 345)
+
+
+ _rotation
+ 0
+
+
+
+ notebook
+
+ id
+ notebook
+
+
+ _enabled
+ True
+
+
+ style
+ wx.NB_TOP
+
+
+ labels
+ ['Constellation', 'Spectrum']
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (520, 407)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_constellationsink2
+
+ id
+ wxgui_constellationsink2_0
+
+
+ _enabled
+ True
+
+
+ title
+ Constellation Plot
+
+
+ samp_rate
+ samp_rate
+
+
+ frame_rate
+ 5
+
+
+ const_size
+ 2048
+
+
+ M
+ 4
+
+
+ theta
+ 0
+
+
+ loop_bw
+ 6.28/100.0
+
+
+ fmax
+ 0.06
+
+
+ mu
+ 0.5
+
+
+ gain_mu
+ 0.005
+
+
+ symbol_rate
+ samp_rate/4.
+
+
+ omega_limit
+ 0.005
+
+
+ win_size
+
+
+
+ grid_pos
+
+
+
+ notebook
+ notebook, 0
+
+
+ _coordinate
+ (824, 212)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_fftsink2
+
+ id
+ wxgui_fftsink2_0
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ title
+ FFT Plot
+
+
+ samp_rate
+ samp_rate
+
+
+ baseband_freq
+ 0
+
+
+ y_per_div
+ 10
+
+
+ y_divs
+ 10
+
+
+ ref_level
+ 50
+
+
+ ref_scale
+ 2.0
+
+
+ fft_size
+ 1024
+
+
+ fft_rate
+ 30
+
+
+ peak_hold
+ False
+
+
+ average
+ False
+
+
+ avg_alpha
+ 0
+
+
+ win
+ None
+
+
+ win_size
+
+
+
+ grid_pos
+
+
+
+ notebook
+ notebook, 1
+
+
+ _coordinate
+ (847, 10)
+
+
+ _rotation
+ 0
+
+
+
+ gr_channel_model
+
+ id
+ gr_channel_model_0
+
+
+ _enabled
+ True
+
+
+ noise_voltage
+ noise
+
+
+ freq_offset
+ freq_off
+
+
+ epsilon
+ 1.0
+
+
+ taps
+ 1.0
+
+
+ seed
+ 42
+
+
+ _coordinate
+ (487, 282)
+
+
+ _rotation
+ 0
+
+
+
+ gr_throttle
+
+ id
+ gr_throttle_0
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ samples_per_second
+ samp_rate
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (633, 82)
+
+
+ _rotation
+ 0
+
+
+
+ random_source_x
+
+ id
+ random_source_x_0
+
+
+ _enabled
+ True
+
+
+ type
+ byte
+
+
+ min
+ 0
+
+
+ max
+ 2**8
+
+
+ num_samps
+ 10000
+
+
+ repeat
+ True
+
+
+ _coordinate
+ (161, 119)
+
+
+ _rotation
+ 0
+
+
+
+ digital_dxpsk_mod
+
+ id
+ digital_dxpsk_mod_0
+
+
+ _enabled
+ True
+
+
+ type
+ dqpsk
+
+
+ samples_per_symbol
+ samps_per_sym
+
+
+ excess_bw
+ 0.35
+
+
+ gray_coded
+ True
+
+
+ verbose
+ False
+
+
+ log
+ False
+
+
+ _coordinate
+ (361, 119)
+
+
+ _rotation
+ 0
+
+
+
+ gr_throttle_0
+ wxgui_constellationsink2_0
+ 0
+ 0
+
+
+ gr_throttle_0
+ wxgui_fftsink2_0
+ 0
+ 0
+
+
+ gr_channel_model_0
+ gr_throttle_0
+ 0
+ 0
+
+
+ digital_dxpsk_mod_0
+ gr_channel_model_0
+ 0
+ 0
+
+
+ random_source_x_0
+ digital_dxpsk_mod_0
+ 0
+ 0
+
+
diff --git a/gr-digital/examples/demod/pam_sync.grc b/gr-digital/examples/demod/pam_sync.grc
new file mode 100644
index 000000000..8571995a5
--- /dev/null
+++ b/gr-digital/examples/demod/pam_sync.grc
@@ -0,0 +1,1744 @@
+
+
+ Sat Mar 6 17:17:22 2010
+
+ options
+
+ id
+ top_block
+
+
+ _enabled
+ True
+
+
+ title
+
+
+
+ author
+
+
+
+ description
+
+
+
+ window_size
+ 1280, 1024
+
+
+ generate_options
+ wx_gui
+
+
+ category
+ Custom
+
+
+ run_options
+ prompt
+
+
+ run
+ True
+
+
+ realtime_scheduling
+
+
+
+ _coordinate
+ (10, 10)
+
+
+ _rotation
+ 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
+
+ id
+ samp_rate
+
+
+ _enabled
+ True
+
+
+ value
+ 32000
+
+
+ _coordinate
+ (128, 9)
+
+
+ _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
+
+
+
+ _coordinate
+ (293, 684)
+
+
+ _rotation
+ 0
+
+
+
+ random_source_x
+
+ id
+ random_source_x_0
+
+
+ _enabled
+ True
+
+
+ type
+ byte
+
+
+ min
+ 0
+
+
+ max
+ pam_amp
+
+
+ num_samps
+ 10000
+
+
+ repeat
+ True
+
+
+ _coordinate
+ (13, 80)
+
+
+ _rotation
+ 0
+
+
+
+ random_source_x
+
+ id
+ random_source_x_0_0
+
+
+ _enabled
+ True
+
+
+ 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
+
+
+ type
+ float
+
+
+ const
+ -0.5*(pam_amp-1)
+
+
+ _coordinate
+ (213, 197)
+
+
+ _rotation
+ 0
+
+
+
+ const_source_x
+
+ id
+ const_source_x_0_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ const
+ -0.5*(pam_amp-1)
+
+
+ _coordinate
+ (200, 360)
+
+
+ _rotation
+ 0
+
+
+
+ gr_add_xx
+
+ id
+ gr_add_xx_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ num_inputs
+ 2
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (440, 167)
+
+
+ _rotation
+ 0
+
+
+
+ gr_add_xx
+
+ id
+ gr_add_xx_0_1
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ num_inputs
+ 2
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (430, 330)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ nfilts
+
+
+ _enabled
+ True
+
+
+ value
+ 32
+
+
+ _coordinate
+ (435, 686)
+
+
+ _rotation
+ 0
+
+
+
+ variable_slider
+
+ id
+ noise_amp
+
+
+ _enabled
+ True
+
+
+ label
+ Channel Noise
+
+
+ value
+ 0
+
+
+ min
+ 0
+
+
+ max
+ 1.0
+
+
+ num_steps
+ 1000
+
+
+ style
+ wx.SL_HORIZONTAL
+
+
+ converver
+ float_converter
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (168, 684)
+
+
+ _rotation
+ 0
+
+
+
+ variable_slider
+
+ id
+ interpratio
+
+
+ _enabled
+ True
+
+
+ label
+ Timing Offset
+
+
+ value
+ 1.00
+
+
+ min
+ 0.99
+
+
+ max
+ 1.01
+
+
+ num_steps
+ 1000
+
+
+ style
+ wx.SL_HORIZONTAL
+
+
+ converver
+ float_converter
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (40, 684)
+
+
+ _rotation
+ 180
+
+
+
+ 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
+
+ id
+ phase_alpha
+
+
+ _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
+
+
+
+ _coordinate
+ (953, 8)
+
+
+ _rotation
+ 0
+
+
+
+ variable_slider
+
+ id
+ phase_beta
+
+
+ _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
+
+
+ order
+ 4
+
+
+ _coordinate
+ (915, 560)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_scopesink2
+
+ id
+ wxgui_scopesink2_0
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ title
+ Input Signal
+
+
+ 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
+ notebook_0,0
+
+
+ _coordinate
+ (1116, 559)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ rrctaps
+
+
+ _enabled
+ True
+
+
+ value
+ firdes.root_raised_cosine(nfilts,1.0,1.0/(spb*nfilts), rolloff, int(11*spb*nfilts))
+
+
+ _coordinate
+ (436, 755)
+
+
+ _rotation
+ 0
+
+
+
+ notebook
+
+ id
+ notebook_0
+
+
+ _enabled
+ True
+
+
+ style
+ wx.NB_TOP
+
+
+ labels
+ ['Output Signal', 'Input Signal']
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (203, 823)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_scopesink2
+
+ id
+ wxgui_scopesink2_0_0_1
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ title
+ Input Signal
+
+
+ samp_rate
+ samp_rate
+
+
+ v_scale
+ .5
+
+
+ v_offset
+ 0
+
+
+ t_scale
+ 0
+
+
+ ac_couple
+ False
+
+
+ xy_mode
+ False
+
+
+ num_inputs
+ 1
+
+
+ win_size
+
+
+
+ grid_pos
+
+
+
+ notebook
+ notebook_0,1
+
+
+ _coordinate
+ (975, 312)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_fftsink2
+
+ id
+ wxgui_fftsink2_0
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ title
+ Input Frequency
+
+
+ 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
+
+
+ win
+ None
+
+
+ win_size
+
+
+
+ grid_pos
+
+
+
+ notebook
+ notebook_0,1
+
+
+ _coordinate
+ (1116, 355)
+
+
+ _rotation
+ 0
+
+
+
+ virtual_source
+
+ id
+ virtual_source_0
+
+
+ _enabled
+ True
+
+
+ stream_id
+ input_signal_probe
+
+
+ _coordinate
+ (801, 453)
+
+
+ _rotation
+ 0
+
+
+
+ virtual_sink
+
+ id
+ virtual_sink_0
+
+
+ _enabled
+ True
+
+
+ stream_id
+ input_signal_probe
+
+
+ _coordinate
+ (280, 475)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_fftsink2
+
+ id
+ wxgui_fftsink2_0_0
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ title
+ Output Frequency
+
+
+ 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
+
+
+ win
+ None
+
+
+ win_size
+
+
+
+ grid_pos
+
+
+
+ notebook
+ notebook_0,0
+
+
+ _coordinate
+ (663, 687)
+
+
+ _rotation
+ 0
+
+
+
+ gr_pfb_clock_sync_xxx
+
+ id
+ gr_pfb_clock_sync_xxx_0
+
+
+ _enabled
+ True
+
+
+ type
+ ccf
+
+
+ sps
+ spb
+
+
+ alpha
+ time_alpha
+
+
+ beta
+ time_beta
+
+
+ taps
+ rrctaps
+
+
+ filter_size
+ nfilts
+
+
+ init_phase
+ 16
+
+
+ max_dev
+ 1.5
+
+
+ _coordinate
+ (662, 527)
+
+
+ _rotation
+ 0
+
+
+
+ gr_float_to_complex
+
+ id
+ gr_float_to_complex_0
+
+
+ _enabled
+ True
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (592, 184)
+
+
+ _rotation
+ 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
+ (60, 443)
+
+
+ _rotation
+ 0
+
+
+
+ gr_multiply_const_vxx
+
+ id
+ gr_multiply_const_vxx_0
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ const
+ sig_amp
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (670, 322)
+
+
+ _rotation
+ 0
+
+
+
+ blks2_pfb_arb_resampler_ccf
+
+ id
+ blks2_pfb_arb_resampler_ccf_0
+
+
+ _enabled
+ True
+
+
+ rate
+ spb
+
+
+ taps
+ firdes.root_raised_cosine(32, 32, 1.0, 0.35, 44*32)
+
+
+ size
+ 32
+
+
+ _coordinate
+ (778, 180)
+
+
+ _rotation
+ 0
+
+
+
+ gr_fll_band_edge_cc
+
+ id
+ gr_fll_band_edge_cc_0
+
+
+ _enabled
+ True
+
+
+ type
+ cc
+
+
+ samps_per_sym
+ spb
+
+
+ rolloff
+ rolloff
+
+
+ filter_size
+ 44
+
+
+ alpha
+ freq_alpha
+
+
+ beta
+ freq_beta
+
+
+ _coordinate
+ (429, 528)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ spb
+
+
+ _enabled
+ True
+
+
+ value
+ 4.0
+
+
+ _coordinate
+ (40, 829)
+
+
+ _rotation
+ 0
+
+
+
+ variable_slider
+
+ id
+ freq_alpha
+
+
+ _enabled
+ True
+
+
+ label
+ Freq Alpha
+
+
+ value
+ 0
+
+
+ min
+ 0
+
+
+ max
+ 0.1
+
+
+ num_steps
+ 1000
+
+
+ style
+ wx.SL_HORIZONTAL
+
+
+ converver
+ float_converter
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (734, 10)
+
+
+ _rotation
+ 0
+
+
+
+ variable_slider
+
+ id
+ freq_beta
+
+
+ _enabled
+ True
+
+
+ label
+ Freq Beta
+
+
+ value
+ 0
+
+
+ min
+ 0.0
+
+
+ max
+ 0.01
+
+
+ num_steps
+ 1000
+
+
+ style
+ wx.SL_HORIZONTAL
+
+
+ converver
+ float_converter
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (836, 9)
+
+
+ _rotation
+ 180
+
+
+
+ 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
+ 0
+ 0
+
+
+ gr_add_xx_0
+ gr_float_to_complex_0
+ 0
+ 0
+
+
+ gr_add_xx_0_1
+ gr_float_to_complex_0
+ 0
+ 1
+
+
+ gr_uchar_to_float_0
+ gr_add_xx_0
+ 0
+ 0
+
+
+ const_source_x_0
+ gr_add_xx_0
+ 0
+ 1
+
+
+ gr_throttle_0
+ gr_fll_band_edge_cc_0
+ 0
+ 0
+
+
+ gr_fll_band_edge_cc_0
+ gr_pfb_clock_sync_xxx_0
+ 0
+ 0
+
+
+ gr_pfb_clock_sync_xxx_0
+ gr_costas_loop_cc_0
+ 0
+ 0
+
+
+ gr_costas_loop_cc_0
+ wxgui_scopesink2_0
+ 0
+ 0
+
+
+ gr_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
+ 0
+ 0
+
+
+ gr_channel_model_0
+ virtual_sink_0
+ 0
+ 0
+
+
+ gr_float_to_complex_0
+ blks2_pfb_arb_resampler_ccf_0
+ 0
+ 0
+
+
+ blks2_pfb_arb_resampler_ccf_0
+ gr_multiply_const_vxx_0
+ 0
+ 0
+
+
+ gr_multiply_const_vxx_0
+ gr_channel_model_0
+ 0
+ 0
+
+
diff --git a/gr-digital/examples/demod/pam_timing.grc b/gr-digital/examples/demod/pam_timing.grc
new file mode 100644
index 000000000..02130f481
--- /dev/null
+++ b/gr-digital/examples/demod/pam_timing.grc
@@ -0,0 +1,1388 @@
+
+
+ Mon Feb 1 18:54:46 2010
+
+ options
+
+ id
+ top_block
+
+
+ _enabled
+ True
+
+
+ title
+
+
+
+ author
+
+
+
+ description
+
+
+
+ window_size
+ 1280, 1024
+
+
+ generate_options
+ wx_gui
+
+
+ category
+ Custom
+
+
+ run_options
+ prompt
+
+
+ run
+ True
+
+
+ realtime_scheduling
+
+
+
+ _coordinate
+ (10, 10)
+
+
+ _rotation
+ 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
+
+ id
+ samp_rate
+
+
+ _enabled
+ True
+
+
+ value
+ 32000
+
+
+ _coordinate
+ (128, 9)
+
+
+ _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
+
+
+
+ _coordinate
+ (293, 684)
+
+
+ _rotation
+ 0
+
+
+
+ random_source_x
+
+ id
+ random_source_x_0
+
+
+ _enabled
+ True
+
+
+ type
+ byte
+
+
+ min
+ 0
+
+
+ max
+ pam_amp
+
+
+ num_samps
+ 10000
+
+
+ repeat
+ True
+
+
+ _coordinate
+ (13, 80)
+
+
+ _rotation
+ 0
+
+
+
+ random_source_x
+
+ id
+ random_source_x_0_0
+
+
+ _enabled
+ True
+
+
+ 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
+
+
+ type
+ float
+
+
+ const
+ -0.5*(pam_amp-1)
+
+
+ _coordinate
+ (213, 197)
+
+
+ _rotation
+ 0
+
+
+
+ const_source_x
+
+ id
+ const_source_x_0_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ const
+ -0.5*(pam_amp-1)
+
+
+ _coordinate
+ (200, 360)
+
+
+ _rotation
+ 0
+
+
+
+ notebook
+
+ id
+ notebook_0
+
+
+ _enabled
+ True
+
+
+ style
+ wx.NB_TOP
+
+
+ labels
+ ['error', 'phase', 'freq', 'Resampled Signal']
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (729, 769)
+
+
+ _rotation
+ 0
+
+
+
+ gr_add_xx
+
+ id
+ gr_add_xx_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ num_inputs
+ 2
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (440, 167)
+
+
+ _rotation
+ 0
+
+
+
+ gr_add_xx
+
+ id
+ gr_add_xx_0_1
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ num_inputs
+ 2
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (430, 330)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ nfilts
+
+
+ _enabled
+ True
+
+
+ value
+ 32
+
+
+ _coordinate
+ (435, 686)
+
+
+ _rotation
+ 0
+
+
+
+ variable_slider
+
+ id
+ noise_amp
+
+
+ _enabled
+ True
+
+
+ label
+ Channel Noise
+
+
+ value
+ 0
+
+
+ min
+ 0
+
+
+ max
+ 1.0
+
+
+ num_steps
+ 1000
+
+
+ style
+ wx.SL_HORIZONTAL
+
+
+ converver
+ float_converter
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (168, 684)
+
+
+ _rotation
+ 0
+
+
+
+ variable_slider
+
+ id
+ interpratio
+
+
+ _enabled
+ True
+
+
+ label
+ Timing Offset
+
+
+ value
+ 1.00
+
+
+ min
+ 0.99
+
+
+ max
+ 1.01
+
+
+ num_steps
+ 1000
+
+
+ style
+ wx.SL_HORIZONTAL
+
+
+ converver
+ float_converter
+
+
+ grid_pos
+
+
+
+ notebook
+
+
+
+ _coordinate
+ (40, 684)
+
+
+ _rotation
+ 180
+
+
+
+ variable_slider
+
+ id
+ 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
+ (668, 5)
+
+
+ _rotation
+ 180
+
+
+
+ variable_slider
+
+ id
+ 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
+ (552, 4)
+
+
+ _rotation
+ 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
+
+
+
+ wxgui_scopesink2
+
+ id
+ wxgui_scopesink2_0
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ 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
+
+
+
+ _coordinate
+ (1116, 500)
+
+
+ _rotation
+ 0
+
+
+
+ gr_throttle
+
+ id
+ gr_throttle_0
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ samples_per_second
+ samp_rate
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (290, 575)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_scopesink2
+
+ id
+ wxgui_scopesink2_0_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ title
+ Error
+
+
+ samp_rate
+ samp_rate
+
+
+ v_scale
+ 3
+
+
+ v_offset
+ 0
+
+
+ t_scale
+ 0
+
+
+ ac_couple
+ False
+
+
+ xy_mode
+ False
+
+
+ num_inputs
+ 1
+
+
+ win_size
+
+
+
+ grid_pos
+
+
+
+ notebook
+ notebook_0,0
+
+
+ _coordinate
+ (1110, 651)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_scopesink2
+
+ id
+ wxgui_scopesink2_0_0_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ title
+ Scope Plot
+
+
+ samp_rate
+ samp_rate
+
+
+ v_scale
+ 9
+
+
+ v_offset
+ 0
+
+
+ t_scale
+ 0
+
+
+ ac_couple
+ False
+
+
+ xy_mode
+ False
+
+
+ num_inputs
+ 1
+
+
+ win_size
+
+
+
+ grid_pos
+
+
+
+ notebook
+ notebook_0,1
+
+
+ _coordinate
+ (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
+ 0
+
+
+
+ gr_pfb_clock_sync_xxx
+
+ id
+ gr_pfb_clock_sync_xxx_0
+
+
+ _enabled
+ True
+
+
+ type
+ ccf
+
+
+ sps
+ spb
+
+
+ alpha
+ alpha
+
+
+ beta
+ beta
+
+
+ taps
+ rrctaps
+
+
+ filter_size
+ nfilts
+
+
+ init_phase
+ 16
+
+
+ max_dev
+ 1.5
+
+
+ _coordinate
+ (512, 527)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_scopesink2
+
+ id
+ wxgui_scopesink2_0_0_0_0
+
+
+ _enabled
+ True
+
+
+ type
+ float
+
+
+ title
+ Scope Plot
+
+
+ samp_rate
+ samp_rate
+
+
+ v_scale
+ 1.25
+
+
+ v_offset
+ 0
+
+
+ t_scale
+ 0
+
+
+ ac_couple
+ False
+
+
+ xy_mode
+ False
+
+
+ num_inputs
+ 1
+
+
+ win_size
+
+
+
+ grid_pos
+
+
+
+ notebook
+ notebook_0,2
+
+
+ _coordinate
+ (1111, 767)
+
+
+ _rotation
+ 0
+
+
+
+ wxgui_scopesink2
+
+ id
+ wxgui_scopesink2_0_0_1
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ title
+ Error
+
+
+ samp_rate
+ samp_rate
+
+
+ v_scale
+ .5
+
+
+ v_offset
+ 0
+
+
+ t_scale
+ 0
+
+
+ ac_couple
+ False
+
+
+ xy_mode
+ False
+
+
+ num_inputs
+ 1
+
+
+ win_size
+
+
+
+ grid_pos
+
+
+
+ notebook
+ notebook_0,3
+
+
+ _coordinate
+ (1115, 358)
+
+
+ _rotation
+ 0
+
+
+
+ gr_float_to_complex
+
+ id
+ gr_float_to_complex_0
+
+
+ _enabled
+ True
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (590, 184)
+
+
+ _rotation
+ 0
+
+
+
+ blks2_pfb_arb_resampler_ccf
+
+ id
+ blks2_pfb_arb_resampler_ccf_0
+
+
+ _enabled
+ True
+
+
+ rate
+ spb
+
+
+ taps
+ firdes.root_raised_cosine(32, 32, 1.0, 0.35, 44*32)
+
+
+ size
+ 32
+
+
+ _coordinate
+ (816, 181)
+
+
+ _rotation
+ 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
+ 0
+
+
+
+ gr_multiply_const_vxx
+
+ id
+ gr_multiply_const_vxx_0
+
+
+ _enabled
+ True
+
+
+ type
+ complex
+
+
+ const
+ sig_amp
+
+
+ vlen
+ 1
+
+
+ _coordinate
+ (714, 382)
+
+
+ _rotation
+ 0
+
+
+
+ variable
+
+ id
+ spb
+
+
+ _enabled
+ True
+
+
+ value
+ 4.2563
+
+
+ _coordinate
+ (42, 840)
+
+
+ _rotation
+ 0
+
+
+
+ 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
+ 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
+ 0
+ 0
+
+
+ gr_add_xx_0
+ gr_float_to_complex_0
+ 0
+ 0
+
+
+ gr_add_xx_0_1
+ gr_float_to_complex_0
+ 0
+ 1
+
+
+ gr_pfb_clock_sync_xxx_0
+ wxgui_scopesink2_0
+ 0
+ 0
+
+
+ gr_throttle_0
+ gr_pfb_clock_sync_xxx_0
+ 0
+ 0
+
+
+ gr_pfb_clock_sync_xxx_0
+ wxgui_scopesink2_0_0
+ 1
+ 0
+
+
+ gr_pfb_clock_sync_xxx_0
+ wxgui_scopesink2_0_0_0
+ 3
+ 0
+
+
+ gr_pfb_clock_sync_xxx_0
+ wxgui_scopesink2_0_0_0_0
+ 2
+ 0
+
+
+ gr_multiply_const_vxx_0
+ wxgui_scopesink2_0_0_1
+ 0
+ 0
+
+
+ gr_float_to_complex_0
+ blks2_pfb_arb_resampler_ccf_0
+ 0
+ 0
+
+
+ blks2_pfb_arb_resampler_ccf_0
+ gr_multiply_const_vxx_0
+ 0
+ 0
+
+
+ gr_multiply_const_vxx_0
+ gr_channel_model_0
+ 0
+ 0
+
+
--
cgit