X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gr-noaa%2Fapps%2Fusrp_rx_lrit.grc;fp=gr-noaa%2Fapps%2Fusrp_rx_lrit.grc;h=aca10039a17d9f924d85aea5a2a702fc1825e4dd;hb=35e43e8d8c271e6842191cac3fc3f2f88a861183;hp=0000000000000000000000000000000000000000;hpb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378;p=debian%2Fgnuradio diff --git a/gr-noaa/apps/usrp_rx_lrit.grc b/gr-noaa/apps/usrp_rx_lrit.grc new file mode 100644 index 00000000..aca10039 --- /dev/null +++ b/gr-noaa/apps/usrp_rx_lrit.grc @@ -0,0 +1,1825 @@ + + + Wed Dec 16 09:47:16 2009 + + options + + id + usrp_rx_lrit + + + _enabled + True + + + title + USRP LRIT Receiver + + + author + + + + description + + + + window_size + 4095, 4095 + + + generate_options + wx_gui + + + category + Custom + + + run_options + prompt + + + run + True + + + realtime_scheduling + + + + _coordinate + (10, 10) + + + _rotation + 0 + + + + variable + + id + sample_rate + + + _enabled + True + + + value + 64e6/decim + + + _coordinate + (245, 9) + + + _rotation + 0 + + + + variable + + id + symbol_rate + + + _enabled + True + + + value + 293e3 + + + _coordinate + (351, 9) + + + _rotation + 0 + + + + variable + + id + sps + + + _enabled + True + + + value + sample_rate/symbol_rate + + + _coordinate + (456, 9) + + + _rotation + 0 + + + + import + + id + import_0 + + + _enabled + True + + + import + import os + + + _coordinate + (9, 83) + + + _rotation + 0 + + + + variable + + id + config_filename + + + _enabled + True + + + value + os.environ['HOME']+'/.gnuradio/config.conf' + + + _coordinate + (10, 142) + + + _rotation + 0 + + + + variable_text_box + + id + freq + + + _enabled + True + + + label + Frequency + + + value + saved_freq + + + converver + float_converter + + + formatter + None + + + grid_pos + 0, 0, 1, 1 + + + notebook + + + + _coordinate + (247, 149) + + + _rotation + 0 + + + + variable_config + + id + saved_freq + + + _enabled + True + + + value + 1691e6 + + + type + real + + + config_file + config_filename + + + section + 'usrp_rx_lrit' + + + option + 'freq' + + + writeback + freq + + + _coordinate + (246, 299) + + + _rotation + 0 + + + + variable_config + + id + saved_offset + + + _enabled + True + + + value + 0 + + + type + real + + + config_file + config_filename + + + section + 'usrp_rx_lrit' + + + option + 'offset' + + + writeback + offset + + + _coordinate + (406, 300) + + + _rotation + 0 + + + + variable_slider + + id + offset + + + _enabled + True + + + label + Offset + + + value + saved_offset + + + min + -50e3 + + + max + 50e3 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + 0, 1, 1, 1 + + + notebook + + + + _coordinate + (390, 149) + + + _rotation + 0 + + + + variable_slider + + id + costas_alpha + + + _enabled + True + + + label + Costas Alpha + + + value + saved_costas_alpha + + + min + 0 + + + max + 0.5 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + 1, 1, 1, 1 + + + notebook + + + + _coordinate + (813, 152) + + + _rotation + 0 + + + + variable_slider + + id + gain_mu + + + _enabled + True + + + label + Gain Mu + + + value + saved_gain_mu + + + min + 0 + + + max + 0.5 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + 1, 2, 1, 1 + + + notebook + + + + _coordinate + (957, 151) + + + _rotation + 0 + + + + variable_config + + id + saved_gain + + + _enabled + True + + + value + 33 + + + type + real + + + config_file + config_filename + + + section + 'usrp_rx_lrit' + + + option + 'gain' + + + writeback + gain + + + _coordinate + (565, 300) + + + _rotation + 0 + + + + variable_config + + id + saved_decim + + + _enabled + True + + + value + 160 + + + type + int + + + config_file + config_filename + + + section + 'usrp_rx_lrit' + + + option + 'decim' + + + writeback + decim + + + _coordinate + (725, 300) + + + _rotation + 0 + + + + variable_text_box + + id + decim + + + _enabled + True + + + label + Decim + + + value + saved_decim + + + converver + int_converter + + + formatter + None + + + grid_pos + 0, 2, 1, 1 + + + notebook + + + + _coordinate + (672, 151) + + + _rotation + 0 + + + + variable_config + + id + saved_costas_alpha + + + _enabled + True + + + value + 0.005 + + + type + real + + + config_file + config_filename + + + section + 'usrp_rx_lrit' + + + option + 'costas_alpha' + + + writeback + costas_alpha + + + _coordinate + (885, 298) + + + _rotation + 0 + + + + variable_config + + id + saved_gain_mu + + + _enabled + True + + + value + 0.005 + + + type + real + + + config_file + config_filename + + + section + 'usrp_rx_lrit' + + + option + 'gain_mu' + + + writeback + gain_mu + + + _coordinate + (1046, 298) + + + _rotation + 0 + + + + variable_config + + id + side + + + _enabled + True + + + value + 'A' + + + type + string + + + config_file + config_filename + + + section + 'usrp_rx_lrit' + + + option + 'side' + + + writeback + side + + + _coordinate + (1102, 152) + + + _rotation + 0 + + + + gr_agc_xx + + id + gr_agc_xx_0 + + + _enabled + True + + + type + complex + + + rate + 1e-6 + + + reference + 1.0 + + + gain + 1.0/32767.0 + + + max_gain + 1.0 + + + _coordinate + (286, 729) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + rx_waveform + + + _enabled + True + + + type + complex + + + title + RX Waveform + + + samp_rate + sample_rate + + + v_scale + 0 + + + v_offset + 0 + + + t_scale + 20.0/sample_rate + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + win_size + + + + grid_pos + 1, 0, 1, 1 + + + notebook + displays, 0 + + + _coordinate + (281, 862) + + + _rotation + 0 + + + + wxgui_fftsink2 + + id + rx_spectrum + + + _enabled + True + + + type + complex + + + title + RX Spectrum + + + samp_rate + sample_rate + + + baseband_freq + freq + + + 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 + 0, 0, 1, 1 + + + notebook + displays, 0 + + + _coordinate + (280, 468) + + + _rotation + 0 + + + + root_raised_cosine_filter + + id + root_raised_cosine_filter_0 + + + _enabled + True + + + type + fir_filter_ccf + + + decim + 1 + + + interp + 1 + + + gain + 1 + + + samp_rate + sample_rate + + + sym_rate + symbol_rate + + + alpha + 0.25 + + + ntaps + int(11*sample_rate/symbol_rate) + + + _coordinate + (472, 713) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + rrc_waveform + + + _enabled + True + + + type + complex + + + title + RRC Waveform + + + samp_rate + sample_rate + + + v_scale + 0.5 + + + v_offset + 0 + + + t_scale + 20.0/sample_rate + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + win_size + + + + grid_pos + 1, 0, 1, 1 + + + notebook + displays, 1 + + + _coordinate + (768, 866) + + + _rotation + 0 + + + + wxgui_fftsink2 + + id + rrc_spectrum + + + _enabled + True + + + type + complex + + + title + RRC Spectrum + + + samp_rate + sample_rate + + + baseband_freq + freq+offset + + + y_per_div + 10 + + + y_divs + 10 + + + ref_level + -15 + + + ref_scale + 2.0 + + + fft_size + 1024 + + + fft_rate + 15 + + + peak_hold + False + + + average + False + + + avg_alpha + 0 + + + win + None + + + win_size + + + + grid_pos + 0, 0, 1, 1 + + + notebook + displays, 1 + + + _coordinate + (767, 499) + + + _rotation + 0 + + + + gr_costas_loop_cc + + id + costas + + + _enabled + True + + + alpha + costas_alpha + + + beta + (costas_alpha**2.0)/4.0 + + + max_freq + 50e-6*sps + + + min_freq + -50e-6*sps + + + order + 2 + + + _coordinate + (767, 721) + + + _rotation + 0 + + + + wxgui_fftsink2 + + id + costas_spectrum + + + _enabled + True + + + type + complex + + + title + PLL Spectrum + + + samp_rate + sample_rate + + + baseband_freq + freq+offset + + + y_per_div + 10 + + + y_divs + 10 + + + ref_level + -15 + + + ref_scale + 2.0 + + + fft_size + 1024 + + + fft_rate + 15 + + + peak_hold + False + + + average + False + + + avg_alpha + 0 + + + win + None + + + win_size + + + + grid_pos + 0, 0, 1, 1 + + + notebook + displays, 2 + + + _coordinate + (969, 502) + + + _rotation + 0 + + + + wxgui_fftsink2 + + id + mm_spectrum + + + _enabled + True + + + type + complex + + + title + Bit Sync Spectrum + + + samp_rate + symbol_rate + + + baseband_freq + 0 + + + y_per_div + 10 + + + y_divs + 10 + + + ref_level + -15 + + + ref_scale + 2.0 + + + fft_size + 1024 + + + fft_rate + 15 + + + peak_hold + False + + + average + False + + + avg_alpha + 0 + + + win + None + + + win_size + + + + grid_pos + 0, 0, 1, 1 + + + notebook + displays, 3 + + + _coordinate + (1225, 503) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + costas_waveform + + + _enabled + True + + + type + complex + + + title + PLL Waveform + + + samp_rate + sample_rate + + + v_scale + 0.5 + + + v_offset + 0 + + + t_scale + 20.0/sample_rate + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + win_size + + + + grid_pos + 1, 0, 1, 1 + + + notebook + displays, 2 + + + _coordinate + (968, 852) + + + _rotation + 0 + + + + gr_clock_recovery_mm_xx + + id + mm_sync + + + _enabled + True + + + type + complex + + + omega + sps + + + gain_omega + (gain_mu**2)/4.0 + + + mu + 0.5 + + + gain_mu + gain_mu + + + omega_relative_limit + 50e-6*sps + + + _coordinate + (969, 722) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + mm_const + + + _enabled + True + + + type + complex + + + title + Constellation + + + samp_rate + symbol_rate + + + v_scale + 0.5 + + + v_offset + 0 + + + t_scale + 20.0/symbol_rate + + + ac_couple + False + + + xy_mode + True + + + num_inputs + 1 + + + win_size + + + + grid_pos + 1, 0, 1, 1 + + + notebook + displays, 3 + + + _coordinate + (1225, 859) + + + _rotation + 0 + + + + notebook + + id + displays + + + _enabled + True + + + style + wx.NB_TOP + + + labels + ['USRP RX','RRC','PLL','Const'] + + + grid_pos + 2, 0, 1, 3 + + + notebook + + + + _coordinate + (10, 228) + + + _rotation + 0 + + + + variable_slider + + id + gain + + + _enabled + True + + + label + Gain + + + value + saved_gain + + + min + 0 + + + max + 115 + + + num_steps + 115 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + 1, 0, 1, 1 + + + notebook + + + + _coordinate + (532, 150) + + + _rotation + 0 + + + + gr_throttle + + id + gr_throttle_0 + + + _enabled + False + + + type + complex + + + samples_per_second + sample_rate + + + vlen + 1 + + + _coordinate + (63, 859) + + + _rotation + 0 + + + + gr_file_source + + id + gr_file_source_0 + + + _enabled + False + + + file + lrit.dat + + + type + complex + + + repeat + False + + + vlen + 1 + + + _coordinate + (36, 943) + + + _rotation + 0 + + + + usrp_simple_source_x + + id + usrp_simple_source_x_0 + + + _enabled + True + + + type + complex + + + format + + + + which + 0 + + + decimation + decim + + + frequency + freq+offset + + + lo_offset + float('inf') + + + gain + gain + + + side + side + + + rx_ant + RXA + + + hb_filters + + + + _coordinate + (19, 713) + + + _rotation + 0 + + + + gr_agc_xx_0 + root_raised_cosine_filter_0 + 0 + 0 + + + gr_throttle_0 + gr_agc_xx_0 + 0 + 0 + + + gr_file_source_0 + gr_throttle_0 + 0 + 0 + + + usrp_simple_source_x_0 + gr_agc_xx_0 + 0 + 0 + + + usrp_simple_source_x_0 + rx_spectrum + 0 + 0 + + + gr_throttle_0 + rx_spectrum + 0 + 0 + + + usrp_simple_source_x_0 + rx_waveform + 0 + 0 + + + gr_throttle_0 + rx_waveform + 0 + 0 + + + root_raised_cosine_filter_0 + rrc_waveform + 0 + 0 + + + root_raised_cosine_filter_0 + rrc_spectrum + 0 + 0 + + + root_raised_cosine_filter_0 + costas + 0 + 0 + + + costas + costas_spectrum + 0 + 0 + + + costas + costas_waveform + 0 + 0 + + + costas + mm_sync + 0 + 0 + + + mm_sync + mm_spectrum + 0 + 0 + + + mm_sync + mm_const + 0 + 0 + +