X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gr-noaa%2Fapps%2Ffile_rx_hrpt.grc;fp=gr-noaa%2Fapps%2Ffile_rx_hrpt.grc;h=e3cccd39330fa2154bc911740822944d35bf6147;hb=35e43e8d8c271e6842191cac3fc3f2f88a861183;hp=0000000000000000000000000000000000000000;hpb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378;p=debian%2Fgnuradio diff --git a/gr-noaa/apps/file_rx_hrpt.grc b/gr-noaa/apps/file_rx_hrpt.grc new file mode 100644 index 00000000..e3cccd39 --- /dev/null +++ b/gr-noaa/apps/file_rx_hrpt.grc @@ -0,0 +1,1194 @@ + + + Mon Nov 9 07:47:17 2009 + + options + + id + file_rx_hrpt + + + _enabled + True + + + title + USRP HRPT Receiver + + + author + + + + description + + + + window_size + 4096,4096 + + + generate_options + wx_gui + + + category + Custom + + + run_options + run + + + run + True + + + realtime_scheduling + + + + _coordinate + (10, 10) + + + _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 + sample_rate + + + _enabled + True + + + value + 64e6/decim + + + _coordinate + (198, 17) + + + _rotation + 0 + + + + virtual_source + + id + virtual_source_0 + + + _enabled + True + + + stream_id + baseband + + + _coordinate + (173, 971) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + demod_scope + + + _enabled + True + + + type + float + + + title + Post-Demod + + + samp_rate + sym_rate*2.0 + + + v_scale + 0.5 + + + v_offset + 0 + + + t_scale + 10.0/sym_rate + + + ac_couple + False + + + xy_mode + False + + + num_inputs + 1 + + + win_size + + + + grid_pos + 0, 0, 1, 1 + + + notebook + displays, 1 + + + _coordinate + (666, 542) + + + _rotation + 180 + + + + gr_clock_recovery_mm_xx + + id + gr_clock_recovery_mm_xx_0 + + + _enabled + True + + + type + float + + + omega + sps/2.0 + + + gain_omega + clock_alpha**2/4.0 + + + mu + 0.5 + + + gain_mu + clock_alpha + + + omega_relative_limit + max_clock_offset + + + _coordinate + (873, 696) + + + _rotation + 0 + + + + gr_moving_average_xx + + id + gr_moving_average_xx_0 + + + _enabled + True + + + type + float + + + length + hs + + + scale + 1.0/hs + + + max_iter + 4000 + + + _coordinate + (682, 713) + + + _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 + (469, 713) + + + _rotation + 0 + + + + virtual_sink + + id + virtual_sink_0 + + + _enabled + True + + + stream_id + baseband + + + _coordinate + (1142, 728) + + + _rotation + 0 + + + + variable + + id + config_filename + + + _enabled + True + + + value + os.environ['HOME']+'/.gnuradio/config.conf' + + + _coordinate + (13, 159) + + + _rotation + 0 + + + + import + + id + import_0 + + + _enabled + True + + + import + import math, os + + + _coordinate + (11, 110) + + + _rotation + 0 + + + + gr_agc_xx + + id + agc + + + _enabled + True + + + type + complex + + + rate + 1e-6 + + + reference + 1.0 + + + gain + 1.0 + + + max_gain + 1.0 + + + _coordinate + (301, 705) + + + _rotation + 0 + + + + gr_interleaved_short_to_complex + + id + gr_interleaved_short_to_complex_0 + + + _enabled + True + + + _coordinate + (73, 733) + + + _rotation + 0 + + + + gr_file_source + + id + gr_file_source_0 + + + _enabled + True + + + file + input_filename + + + type + short + + + repeat + False + + + vlen + 1 + + + _coordinate + (76, 613) + + + _rotation + 0 + + + + notebook + + id + displays + + + _enabled + True + + + style + wx.NB_TOP + + + labels + ['Spectrum','Demod'] + + + grid_pos + 1,0,1,2 + + + notebook + + + + _coordinate + (12, 249) + + + _rotation + 0 + + + + wxgui_fftsink2 + + id + rx_fft + + + _enabled + True + + + type + complex + + + title + RX Spectrum + + + samp_rate + sample_rate + + + baseband_freq + 0 + + + y_per_div + 5 + + + y_divs + 8 + + + ref_level + -5 + + + ref_scale + 2.0 + + + fft_size + 1024 + + + fft_rate + 15 + + + peak_hold + False + + + average + True + + + avg_alpha + 0.1 + + + win + None + + + win_size + 640, 360 + + + grid_pos + 0, 0, 1, 1 + + + notebook + displays, 0 + + + _coordinate + (471, 450) + + + _rotation + 0 + + + + gr_binary_slicer_fb + + id + gr_binary_slicer_fb_0 + + + _enabled + True + + + _coordinate + (393, 975) + + + _rotation + 0 + + + + gr_throttle + + id + throttle + + + _enabled + True + + + type + short + + + samples_per_second + 2*sample_rate + + + vlen + 1 + + + _coordinate + (75, 679) + + + _rotation + 180 + + + + parameter + + id + input_filename + + + _enabled + True + + + label + input_filename + + + value + usrp.dat + + + type + string + + + short_id + F + + + _coordinate + (196, 98) + + + _rotation + 0 + + + + parameter + + id + decim + + + _enabled + True + + + label + decim + + + value + 32 + + + type + intx + + + short_id + d + + + _coordinate + (307, 98) + + + _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, 0, 1, 1 + + + notebook + + + + _coordinate + (397, 98) + + + _rotation + 0 + + + + variable_slider + + id + clock_alpha + + + _enabled + True + + + label + Clock Alpha + + + value + saved_clock_alpha + + + min + 0.0 + + + max + 0.5 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + 0, 1, 1, 1 + + + notebook + + + + _coordinate + (540, 98) + + + _rotation + 0 + + + + variable + + id + hs + + + _enabled + True + + + value + int(sps/2.0) + + + _coordinate + (499, 19) + + + _rotation + 0 + + + + variable + + id + max_carrier_offset + + + _enabled + True + + + value + 2*math.pi*100e3/sample_rate + + + _coordinate + (575, 19) + + + _rotation + 0 + + + + variable + + id + max_clock_offset + + + _enabled + True + + + value + 100e-6 + + + _coordinate + (705, 19) + + + _rotation + 0 + + + + variable_config + + id + output_filename + + + _enabled + True + + + value + 'frames.hrpt' + + + type + string + + + config_file + config_filename + + + section + 'usrp_rx_hrpt' + + + option + 'filename' + + + writeback + output_filename + + + _coordinate + (521, 254) + + + _rotation + 0 + + + + variable_config + + id + saved_pll_alpha + + + _enabled + True + + + value + 0.01 + + + type + real + + + config_file + config_filename + + + section + 'usrp_rx_hrpt' + + + option + 'pll_alpha' + + + writeback + pll_alpha + + + _coordinate + (195, 253) + + + _rotation + 0 + + + + variable_config + + id + saved_clock_alpha + + + _enabled + True + + + value + 0.01 + + + type + real + + + config_file + config_filename + + + section + 'usrp_rx_hrpt' + + + option + 'clock_alpha' + + + writeback + clock_alpha + + + _coordinate + (360, 255) + + + _rotation + 0 + + + + noaa_hrpt_deframer + + id + deframer + + + _enabled + True + + + _coordinate + (579, 975) + + + _rotation + 0 + + + + noaa_hrpt_decoder + + id + decoder + + + _enabled + True + + + verbose + True + + + output + False + + + _coordinate + (849, 925) + + + _rotation + 0 + + + + gr_file_sink + + id + frame_sink + + + _enabled + True + + + file + output_filename + + + type + short + + + vlen + 1 + + + _coordinate + (848, 1007) + + + _rotation + 0 + + + + virtual_source_0 + gr_binary_slicer_fb_0 + 0 + 0 + + + deframer + frame_sink + 0 + 0 + + + deframer + decoder + 0 + 0 + + + gr_clock_recovery_mm_xx_0 + virtual_sink_0 + 0 + 0 + + + gr_clock_recovery_mm_xx_0 + demod_scope + 0 + 0 + + + gr_moving_average_xx_0 + gr_clock_recovery_mm_xx_0 + 0 + 0 + + + pll + gr_moving_average_xx_0 + 0 + 0 + + + agc + pll + 0 + 0 + + + agc + rx_fft + 0 + 0 + + + gr_interleaved_short_to_complex_0 + agc + 0 + 0 + + + throttle + gr_interleaved_short_to_complex_0 + 0 + 0 + + + gr_file_source_0 + throttle + 0 + 0 + + + gr_binary_slicer_fb_0 + deframer + 0 + 0 + +