From ccca4c7d043bd5e14e48c67880da498c7d578734 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 6 Oct 2009 18:00:21 -0700 Subject: moved grc examples to gnuradio-examples/grc --- gnuradio-examples/grc/demod/pam_timing.grc | 616 +++++++++++++++++++++++++++++ 1 file changed, 616 insertions(+) create mode 100644 gnuradio-examples/grc/demod/pam_timing.grc (limited to 'gnuradio-examples/grc/demod/pam_timing.grc') diff --git a/gnuradio-examples/grc/demod/pam_timing.grc b/gnuradio-examples/grc/demod/pam_timing.grc new file mode 100644 index 000000000..989c795a9 --- /dev/null +++ b/gnuradio-examples/grc/demod/pam_timing.grc @@ -0,0 +1,616 @@ + + + Tue Oct 6 14:19:10 2009 + + 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 + + + + variable + + id + samp_rate + + + _enabled + True + + + value + 32000 + + + _coordinate + (128, 9) + + + _rotation + 0 + + + + gr_uchar_to_float + + id + gr_uchar_to_float_0 + + + _enabled + True + + + _coordinate + (270, 115) + + + _rotation + 0 + + + + random_source_x + + id + random_source_x_0 + + + _enabled + True + + + type + byte + + + min + 0 + + + max + 2 + + + num_samps + 1000 + + + repeat + True + + + _coordinate + (13, 80) + + + _rotation + 0 + + + + const_source_x + + id + const_source_x_0 + + + _enabled + True + + + type + float + + + const + -0.5 + + + _coordinate + (179, 160) + + + _rotation + 0 + + + + variable_chooser + + id + spb + + + _enabled + True + + + label + Samples Per Bit + + + value + 4 + + + choices + [1, 2, 3, 4, 5, 6, 7, 8] + + + labels + [] + + + type + drop_down + + + style + wx.RA_HORIZONTAL + + + grid_pos + + + + notebook + + + + _coordinate + (0, 834) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + wxgui_scopesink2_0 + + + _enabled + True + + + type + float + + + title + Scope Plot + + + samp_rate + samp_rate + + + v_scale + 0 + + + t_scale + 0 + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + grid_pos + + + + notebook + + + + _coordinate + (750, 128) + + + _rotation + 0 + + + + gr_add_xx + + id + gr_add_xx_0 + + + _enabled + True + + + type + float + + + num_inputs + 2 + + + vlen + 1 + + + _coordinate + (505, 128) + + + _rotation + 0 + + + + variable_slider + + id + noise_amp + + + _enabled + True + + + label + noise_amp + + + value + 0 + + + min + 0 + + + max + 1.0 + + + num_steps + 1000 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (600, -1) + + + _rotation + 0 + + + + gr_throttle + + id + gr_throttle_0 + + + _enabled + True + + + type + float + + + samples_per_second + samp_rate + + + vlen + 1 + + + _coordinate + (561, 284) + + + _rotation + 0 + + + + gr_noise_source_x + + id + gr_noise_source_x_0 + + + _enabled + True + + + type + float + + + noise_type + gr.GR_GAUSSIAN + + + amp + noise_amp + + + seed + 42 + + + _coordinate + (45, 497) + + + _rotation + 0 + + + + root_raised_cosine_filter + + id + root_raised_cosine_filter_0 + + + _enabled + True + + + type + interp_fir_filter_fff + + + decim + 1 + + + interp + spb + + + gain + 2*spb + + + samp_rate + 1.0 + + + sym_rate + 1./spb + + + alpha + 0.35 + + + ntaps + 11*spb + + + _coordinate + (50, 295) + + + _rotation + 0 + + + + gr_add_xx + + id + gr_add_xx_0_0 + + + _enabled + True + + + type + float + + + num_inputs + 2 + + + vlen + 1 + + + _coordinate + (374, 389) + + + _rotation + 0 + + + + root_raised_cosine_filter + + id + root_raised_cosine_filter_0_0 + + + _enabled + True + + + type + interp_fir_filter_fff + + + decim + 1 + + + interp + 1 + + + gain + 1 + + + samp_rate + 1.0 + + + sym_rate + 1./spb + + + alpha + 0.35 + + + ntaps + 11*spb + + + _coordinate + (376, 598) + + + _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_add_xx_0 + root_raised_cosine_filter_0 + 0 + 0 + + + gr_throttle_0 + wxgui_scopesink2_0 + 0 + 0 + + + root_raised_cosine_filter_0 + gr_add_xx_0_0 + 0 + 0 + + + gr_noise_source_x_0 + gr_add_xx_0_0 + 0 + 1 + + + gr_add_xx_0_0 + root_raised_cosine_filter_0_0 + 0 + 0 + + + root_raised_cosine_filter_0_0 + gr_throttle_0 + 0 + 0 + + -- cgit