From db2f60baf542ac35151eb7084e274701861bacc5 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Sun, 27 Sep 2009 13:34:20 -0700 Subject: Renamed simplified HRPT script to allow restoring original --- gr-noaa/apps/usrp_rx_hrpt2.grc | 1418 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1418 insertions(+) create mode 100644 gr-noaa/apps/usrp_rx_hrpt2.grc (limited to 'gr-noaa/apps/usrp_rx_hrpt2.grc') diff --git a/gr-noaa/apps/usrp_rx_hrpt2.grc b/gr-noaa/apps/usrp_rx_hrpt2.grc new file mode 100644 index 000000000..d42a9eab6 --- /dev/null +++ b/gr-noaa/apps/usrp_rx_hrpt2.grc @@ -0,0 +1,1418 @@ + + + Sun Sep 27 13:32:47 2009 + + variable + + id + max_carrier_offset + + + _enabled + True + + + value + 2*math.pi*100e3/sample_rate + + + _coordinate + (575, 19) + + + _rotation + 0 + + + + variable + + id + sym_rate + + + _enabled + True + + + value + 600*1109 + + + _coordinate + (301, 19) + + + _rotation + 0 + + + + variable + + id + sps + + + _enabled + True + + + value + sample_rate/sym_rate + + + _coordinate + (397, 19) + + + _rotation + 0 + + + + variable + + id + hs + + + _enabled + True + + + value + int(sps/2.0) + + + _coordinate + (499, 19) + + + _rotation + 0 + + + + variable + + id + sample_rate + + + _enabled + True + + + value + 64e6/decim + + + _coordinate + (198, 17) + + + _rotation + 0 + + + + variable_slider + + id + gain + + + _enabled + True + + + label + RX Gain + + + value + saved_gain + + + min + 0 + + + max + 100 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + 0, 1, 1, 1 + + + notebook + + + + _coordinate + (340, 106) + + + _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 + (199, 106) + + + _rotation + 0 + + + + variable_slider + + id + pll_alpha + + + _enabled + True + + + label + PLL Alpha + + + value + saved_pll_alpha + + + min + 0.0 + + + max + 0.5 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + 0, 2, 1, 1 + + + notebook + + + + _coordinate + (479, 106) + + + _rotation + 0 + + + + variable_slider + + id + sync_alpha + + + _enabled + True + + + label + SYNC Alpha + + + value + saved_sync_alpha + + + min + 0.0 + + + max + 0.5 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + 0, 3, 1, 1 + + + notebook + + + + _coordinate + (618, 106) + + + _rotation + 0 + + + + variable_static_text + + id + side_text + + + _enabled + True + + + label + USRP Side + + + value + side + + + converver + str_converter + + + formatter + None + + + grid_pos + 1, 0, 1, 1 + + + notebook + + + + _coordinate + (828, 20) + + + _rotation + 0 + + + + variable_config + + id + side + + + _enabled + True + + + value + 'A' + + + type + string + + + config_file + config_filename + + + section + 'usrp' + + + option + 'side' + + + writeback + side + + + _coordinate + (194, 253) + + + _rotation + 0 + + + + variable_config + + id + decim + + + _enabled + True + + + value + 16 + + + type + real + + + config_file + config_filename + + + section + 'usrp' + + + option + 'decim' + + + writeback + decim + + + _coordinate + (351, 255) + + + _rotation + 0 + + + + variable_config + + id + saved_freq + + + _enabled + True + + + value + 1698e6 + + + type + real + + + config_file + config_filename + + + section + 'usrp' + + + option + 'freq' + + + writeback + freq + + + _coordinate + (507, 258) + + + _rotation + 0 + + + + variable_config + + id + saved_gain + + + _enabled + True + + + value + 35 + + + type + real + + + config_file + config_filename + + + section + 'usrp' + + + option + 'gain' + + + writeback + gain + + + _coordinate + (664, 259) + + + _rotation + 0 + + + + variable_config + + id + saved_pll_alpha + + + _enabled + True + + + value + 0.05 + + + type + real + + + config_file + config_filename + + + section + 'demod' + + + option + 'pll_alpha' + + + writeback + pll_alpha + + + _coordinate + (823, 258) + + + _rotation + 0 + + + + variable_config + + id + saved_sync_alpha + + + _enabled + True + + + value + 0.05 + + + type + real + + + config_file + config_filename + + + section + 'demod' + + + option + 'sync_alpha' + + + writeback + sync_alpha + + + _coordinate + (981, 258) + + + _rotation + 0 + + + + variable_config + + id + output_filename + + + _enabled + True + + + value + 'frames.dat' + + + type + string + + + config_file + config_filename + + + section + 'output' + + + option + 'filename' + + + writeback + output_filename + + + _coordinate + (1139, 259) + + + _rotation + 0 + + + + variable_static_text + + id + decim_text + + + _enabled + True + + + label + Decimation + + + value + decim + + + converver + float_converter + + + formatter + None + + + grid_pos + 1, 1, 1, 1 + + + notebook + + + + _coordinate + (973, 20) + + + _rotation + 0 + + + + variable + + id + max_sync_offset + + + _enabled + True + + + value + 0.01 + + + _coordinate + (705, 19) + + + _rotation + 0 + + + + variable + + id + config_filename + + + _enabled + True + + + value + 'usrp_rx_hrpt.cfg' + + + _coordinate + (12, 160) + + + _rotation + 0 + + + + import + + id + import_0 + + + _enabled + True + + + import + import math + + + _coordinate + (11, 102) + + + _rotation + 0 + + + + noaa_hrpt_pll_cf + + id + pll + + + _enabled + True + + + alpha + pll_alpha + + + beta + pll_alpha**2/4.0 + + + max_offset + max_carrier_offset + + + _coordinate + (664, 809) + + + _rotation + 0 + + + + noaa_hrpt_sync_fb + + id + sync + + + _enabled + True + + + alpha + sync_alpha + + + beta + sync_alpha**2/4.0 + + + sps + sps + + + max_offset + max_sync_offset + + + _coordinate + (865, 801) + + + _rotation + 0 + + + + gr_file_sink + + id + frame_sink + + + _enabled + True + + + file + output_filename + + + type + short + + + vlen + 1 + + + _coordinate + (1283, 937) + + + _rotation + 0 + + + + noaa_hrpt_deframer + + id + deframer + + + _enabled + True + + + _coordinate + (1091, 829) + + + _rotation + 0 + + + + noaa_hrpt_decoder + + id + decoder + + + _enabled + True + + + _coordinate + (1281, 829) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + pll_scope + + + _enabled + True + + + type + float + + + title + Demod Waveform + + + samp_rate + sample_rate + + + v_scale + 0.5 + + + t_scale + 20.0/sample_rate + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + grid_pos + 2,0,1,4 + + + notebook + + + + _coordinate + (631, 632) + + + _rotation + 180 + + + + gr_agc_xx + + id + agc + + + _enabled + True + + + type + complex + + + rate + 1e-6 + + + reference + 1.0 + + + gain + 1.0 + + + max_gain + 1.0 + + + _coordinate + (269, 801) + + + _rotation + 0 + + + + gr_fir_filter_xxx + + id + gr_fir_filter_xxx_0 + + + _enabled + True + + + type + ccc + + + decim + 1 + + + taps + mf_taps + + + _coordinate + (418, 817) + + + _rotation + 0 + + + + variable + + id + mf_taps + + + _enabled + True + + + value + [-0.5/hs,]*hs+[0.5/hs,]*hs + + + _coordinate + (830, 154) + + + _rotation + 0 + + + + gr_file_source + + id + file_source + + + _enabled + False + + + file + 'usrp.dat' + + + type + short + + + repeat + False + + + vlen + 1 + + + _coordinate + (215, 490) + + + _rotation + 0 + + + + gr_deinterleave + + id + gr_deinterleave_0 + + + _enabled + False + + + type + float + + + num_streams + 2 + + + vlen + 1 + + + _coordinate + (598, 485) + + + _rotation + 0 + + + + gr_float_to_complex + + id + gr_float_to_complex_0 + + + _enabled + False + + + vlen + 1 + + + _coordinate + (801, 485) + + + _rotation + 0 + + + + gr_short_to_float + + id + s2f + + + _enabled + False + + + _coordinate + (393, 502) + + + _rotation + 0 + + + + virtual_sink + + id + sample_stream + + + _enabled + False + + + stream_id + samples + + + _coordinate + (1027, 498) + + + _rotation + 0 + + + + usrp_simple_source_x + + id + usrp_source + + + _enabled + True + + + type + complex + + + format + + + + which + 0 + + + decimation + decim + + + frequency + freq + + + lo_offset + float('inf') + + + gain + gain + + + side + side + + + rx_ant + RXA + + + hb_filters + + + + _coordinate + (63, 785) + + + _rotation + 0 + + + + virtual_source + + id + virtual_source_0 + + + _enabled + False + + + stream_id + samples + + + _coordinate + (69, 671) + + + _rotation + 0 + + + + options + + id + usrp_rx_hrpt2 + + + _enabled + True + + + title + USRP HRPT Receiver + + + author + + + + description + + + + window_size + 4096,4096 + + + generate_options + wx_gui + + + category + Custom + + + run + True + + + realtime_scheduling + 1 + + + _coordinate + (10, 10) + + + _rotation + 0 + + + + gr_fir_filter_xxx_0 + pll + 0 + 0 + + + agc + gr_fir_filter_xxx_0 + 0 + 0 + + + usrp_source + agc + 0 + 0 + + + deframer + decoder + 0 + 0 + + + pll + pll_scope + 0 + 0 + + + pll + sync + 0 + 0 + + + sync + deframer + 0 + 0 + + + deframer + frame_sink + 0 + 0 + + + virtual_source_0 + agc + 0 + 0 + + + file_source + s2f + 0 + 0 + + + s2f + gr_deinterleave_0 + 0 + 0 + + + gr_deinterleave_0 + gr_float_to_complex_0 + 0 + 0 + + + gr_deinterleave_0 + gr_float_to_complex_0 + 1 + 1 + + + gr_float_to_complex_0 + sample_stream + 0 + 0 + + -- cgit