From 69dd1eedb8f5139589695c921f13ac7d14897ff6 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 5 Oct 2009 18:36:38 -0700 Subject: [PATCH] added freq offset slider --- grc/examples/demod/mpsk_demod.grc | 418 ++++++++++++++++++------------ 1 file changed, 254 insertions(+), 164 deletions(-) diff --git a/grc/examples/demod/mpsk_demod.grc b/grc/examples/demod/mpsk_demod.grc index d93591e1..08108dcb 100644 --- a/grc/examples/demod/mpsk_demod.grc +++ b/grc/examples/demod/mpsk_demod.grc @@ -1,6 +1,61 @@ - Mon Oct 5 18:26:32 2009 + Mon Oct 5 18:34:52 2009 + + 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 @@ -64,74 +119,96 @@ - wxgui_constellationsink2 + blks2_dxpsk_mod id - wxgui_constellationsink2_0 + blks2_dxpsk_mod_0 _enabled True - title - Constellation Plot + type + dqpsk - samp_rate - samp_rate + samples_per_symbol + samps_per_sym - frame_rate - 5 + excess_bw + 0.35 - const_size - 2048 + gray_code + True - M - 4 + verbose + False - theta + log + False + + + _coordinate + (391, 54) + + + _rotation 0 + + + gr_throttle - alpha - 0.005 + id + gr_throttle_0 - fmax - 0.06 + _enabled + True - mu - 0.5 + type + complex - gain_mu - 0.005 + samples_per_second + samp_rate - symbol_rate - samp_rate/4. + vlen + 1 - omega_limit - 0.005 + _coordinate + (654, 142) - grid_pos - + _rotation + 0 + + + variable - notebook - + id + samps_per_sym + + + _enabled + True + + + value + 4 _coordinate - (824, 212) + (7, 89) _rotation @@ -139,66 +216,81 @@ - wxgui_fftsink2 + gr_channel_model id - wxgui_fftsink2_0 + gr_channel_model_0 _enabled True - type - complex + noise_voltage + noise - title - FFT Plot + freq_offset + freq_off - samp_rate - samp_rate + epsilon + 1.0 - baseband_freq + taps + 1.0 + + + seed + 42 + + + _coordinate + (487, 282) + + + _rotation 0 + + + variable_slider - y_per_div - 10 + id + noise - y_divs - 10 + _enabled + True - ref_level - 50 + label + Noise - ref_scale - 2.0 + value + .1 - fft_size - 1024 + min + 0 - fft_rate - 30 + max + 1 - peak_hold - False + num_steps + 100 - average - False + style + wx.SL_HORIZONTAL - avg_alpha - 0 + converver + float_converter grid_pos @@ -210,7 +302,7 @@ _coordinate - (847, 10) + (259, 353) _rotation @@ -218,65 +310,54 @@ - variable + variable_slider id - samps_per_sym + freq_off _enabled True - value - 4 - - - _coordinate - (10, 278) + label + Freq Offset - _rotation + value 0 - - - blks2_dxpsk_mod - - id - blks2_dxpsk_mod_0 - - _enabled - True + min + -.5 - type - dqpsk + max + .5 - samples_per_symbol - samps_per_sym + num_steps + 1000 - excess_bw - 0.35 + style + wx.SL_HORIZONTAL - gray_code - True + converver + float_converter - verbose - False + grid_pos + - log - False + notebook + _coordinate - (391, 54) + (126, 345) _rotation @@ -284,30 +365,34 @@ - gr_throttle + notebook id - gr_throttle_0 + notebook _enabled True - type - complex + style + wx.NB_TOP - samples_per_second - samp_rate + labels + ['Constellation', 'Spectrum'] - vlen - 1 + grid_pos + + + + notebook + _coordinate - (654, 142) + (520, 407) _rotation @@ -315,81 +400,62 @@ - gr_channel_model + wxgui_constellationsink2 id - gr_channel_model_0 + wxgui_constellationsink2_0 _enabled True - noise_voltage - noise - - - freq_offset - 0.0 + title + Constellation Plot - epsilon - 1.0 + samp_rate + samp_rate - taps - 1.0 + frame_rate + 5 - seed - 42 + const_size + 2048 - _coordinate - (487, 282) + M + 4 - _rotation + theta 0 - - - variable_slider - id - noise - - - _enabled - True - - - label - - - - value - .1 + alpha + 0.005 - min - 0 + fmax + 0.06 - max - 1 + mu + 0.5 - num_steps - 100 + gain_mu + 0.005 - style - wx.SL_HORIZONTAL + symbol_rate + samp_rate/4. - converver - float_converter + omega_limit + 0.005 grid_pos @@ -397,11 +463,11 @@ notebook - + notebook, 0 _coordinate - (234, 324) + (824, 212) _rotation @@ -409,54 +475,78 @@ - options + wxgui_fftsink2 id - mpsk_demod + wxgui_fftsink2_0 _enabled True + + type + complex + title - MPSK Demod Demo + FFT Plot - author - + samp_rate + samp_rate - description - + baseband_freq + 0 - window_size - 1280, 1024 + y_per_div + 10 - generate_options - wx_gui + y_divs + 10 - category - Custom + ref_level + 50 - run_options - prompt + ref_scale + 2.0 - run - True + fft_size + 1024 - realtime_scheduling + fft_rate + 30 + + + peak_hold + False + + + average + False + + + avg_alpha + 0 + + + grid_pos + + notebook + notebook, 1 + _coordinate - (10, 10) + (847, 10) _rotation -- 2.47.2