From a903212f60d9bc4f3a5b34ae47fe54cdb2db0ce0 Mon Sep 17 00:00:00 2001 From: Matt Ettus Date: Thu, 3 Dec 2009 08:27:05 -0800 Subject: [PATCH] added a gain slider --- gnuradio-examples/grc/usrp/usrp_rx_dpsk.grc | 416 ++++++++++++-------- 1 file changed, 254 insertions(+), 162 deletions(-) diff --git a/gnuradio-examples/grc/usrp/usrp_rx_dpsk.grc b/gnuradio-examples/grc/usrp/usrp_rx_dpsk.grc index 9b869687..9843ee6b 100644 --- a/gnuradio-examples/grc/usrp/usrp_rx_dpsk.grc +++ b/gnuradio-examples/grc/usrp/usrp_rx_dpsk.grc @@ -1,6 +1,6 @@ - Wed Nov 25 20:45:31 2009 + Wed Dec 2 11:03:20 2009 options @@ -106,7 +106,7 @@ variable id - samp_rate + p2p _enabled @@ -114,11 +114,11 @@ value - 1e6 + 2.0 _coordinate - (20, 234) + (13, 314) _rotation @@ -126,46 +126,54 @@ - usrp2_source_xxxx + variable_slider id - usrp2_source_xxxx_0 + timing_alpha _enabled True - type - complex + label + Timing Alpha - interface - + value + .1 - mac_addr - + min + 0 - decimation - int(100e6/samp_rate) + max + .5 - frequency - bb_freq + num_steps + 100 - lo_offset - float('inf') + style + wx.SL_HORIZONTAL - gain - 0 + converver + float_converter + + + grid_pos + + + + notebook + _coordinate - (158, 51) + (759, 365) _rotation @@ -173,10 +181,10 @@ - blks2_dxpsk2_demod + gr_null_sink id - blks2_dxpsk2_demod_0 + gr_null_sink_0 _enabled @@ -184,74 +192,70 @@ type - dqpsk - - - samples_per_symbol - samps_per_sym + byte - excess_bw - 0.35 + vlen + 1 - costas_alpha - costas_alpha + _coordinate + (815, 80) - timing_alpha - timing_alpha + _rotation + 0 + + + variable_slider - timing_max_dev - 1.5 + id + costas_alpha - omega_relative_limit - 0.005 + _enabled + True - gray_code - True + label + Costas Alpha - verbose - False + value + 0.175 - log - False + min + 0 - sync_out - True + max + .5 - _coordinate - (488, 65) + num_steps + 100 - _rotation - 0 + style + wx.SL_HORIZONTAL - - - variable - id - p2p + converver + float_converter - _enabled - True + grid_pos + - value - 2.0 + notebook + _coordinate - (13, 314) + (598, 367) _rotation @@ -259,10 +263,10 @@ - wxgui_scopesink2 + wxgui_fftsink2 id - wxgui_scopesink2_0 + wxgui_fftsink2_0 _enabled @@ -274,35 +278,55 @@ title - Recovered DQPSK Constellation + Receive Spectrum samp_rate samp_rate - v_scale - 0 + baseband_freq + bb_freq - v_offset - 0 + y_per_div + 10 - t_scale - 0 + y_divs + 10 - ac_couple + ref_level + -40 + + + ref_scale + p2p + + + fft_size + 1024 + + + fft_rate + 15 + + + peak_hold False - xy_mode - True + average + False - num_inputs - 1 + avg_alpha + 0 + + + win + None win_size @@ -318,7 +342,30 @@ _coordinate - (747, 237) + (383, 321) + + + _rotation + 0 + + + + variable + + id + samp_rate + + + _enabled + True + + + value + 1e6/4 + + + _coordinate + (20, 234) _rotation @@ -329,7 +376,7 @@ variable_slider id - timing_alpha + gain _enabled @@ -337,11 +384,11 @@ label - Timing Alpha + Gain value - .1 + 20 min @@ -349,7 +396,7 @@ max - .5 + 70 num_steps @@ -373,7 +420,7 @@ _coordinate - (759, 365) + (152, 378) _rotation @@ -381,10 +428,10 @@ - gr_null_sink + usrp2_source_xxxx id - gr_null_sink_0 + usrp2_source_xxxx_0 _enabled @@ -392,70 +439,35 @@ type - byte - - - vlen - 1 - - - _coordinate - (815, 80) - - - _rotation - 0 - - - - variable_slider - - id - costas_alpha - - - _enabled - True - - - label - Costas Alpha - - - value - 0.175 - - - min - 0 + complex - max - .5 + interface + - num_steps - 100 + mac_addr + - style - wx.SL_HORIZONTAL + decimation + int(100e6/samp_rate) - converver - float_converter + frequency + bb_freq - grid_pos - + lo_offset + float('inf') - notebook - + gain + gain _coordinate - (598, 367) + (158, 51) _rotation @@ -498,7 +510,7 @@ gain - 0 + gain side @@ -522,10 +534,10 @@ - wxgui_fftsink2 + blks2_dxpsk2_demod id - wxgui_fftsink2_0 + blks2_dxpsk2_demod_0 _enabled @@ -533,59 +545,102 @@ type - complex + dqpsk - title - Receive Spectrum + samples_per_symbol + samps_per_sym - samp_rate - samp_rate + excess_bw + 0.35 - baseband_freq - bb_freq + costas_alpha + costas_alpha - y_per_div - 10 + timing_alpha + timing_alpha - y_divs - 10 + timing_max_dev + 1.5 - ref_level - -40 + omega_relative_limit + 0.005 - ref_scale - p2p + gray_code + True - fft_size - 1024 + verbose + False - fft_rate - 20 + log + False - peak_hold - False + sync_out + True - average - False + _coordinate + (487, 64) - avg_alpha + _rotation 0 + + + wxgui_scopesink2 - win - None + id + wxgui_scopesink2_0 + + + _enabled + True + + + type + complex + + + title + Recovered DQPSK Constellation + + + samp_rate + samp_rate/4/20 + + + v_scale + 0 + + + v_offset + 0 + + + t_scale + 0 + + + ac_couple + False + + + xy_mode + True + + + num_inputs + 1 win_size @@ -601,7 +656,38 @@ _coordinate - (383, 321) + (760, 239) + + + _rotation + 180 + + + + gr_keep_one_in_n + + id + gr_keep_one_in_n_0 + + + _enabled + True + + + type + complex + + + n + 20 + + + vlen + 1 + + + _coordinate + (873, 151) _rotation @@ -628,8 +714,14 @@ blks2_dxpsk2_demod_0 - wxgui_scopesink2_0 + gr_keep_one_in_n_0 1 0 + + gr_keep_one_in_n_0 + wxgui_scopesink2_0 + 0 + 0 + -- 2.30.2