X-Git-Url: https://git.gag.com/?p=debian%2Fgnuradio;a=blobdiff_plain;f=gr-noaa%2Fapps%2Fusrp_rx_hrpt_nogui.grc;fp=gr-noaa%2Fapps%2Fusrp_rx_hrpt_nogui.grc;h=22bd3bdc3cacda8ead81442e282179d5255ebc39;hp=0000000000000000000000000000000000000000;hb=35e43e8d8c271e6842191cac3fc3f2f88a861183;hpb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378 diff --git a/gr-noaa/apps/usrp_rx_hrpt_nogui.grc b/gr-noaa/apps/usrp_rx_hrpt_nogui.grc new file mode 100644 index 00000000..22bd3bdc --- /dev/null +++ b/gr-noaa/apps/usrp_rx_hrpt_nogui.grc @@ -0,0 +1,947 @@ + + + Mon Nov 9 08:03:25 2009 + + options + + id + usrp_rx_hrpt_nogui + + + _enabled + True + + + title + + + + author + + + + description + + + + window_size + 4096,4096 + + + generate_options + no_gui + + + category + Custom + + + run_options + prompt + + + run + True + + + realtime_scheduling + 1 + + + _coordinate + (10, 10) + + + _rotation + 0 + + + + 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 + + id + config_filename + + + _enabled + True + + + value + os.environ['HOME']+'/.gnuradio/config.conf' + + + _coordinate + (13, 162) + + + _rotation + 0 + + + + import + + id + import_0 + + + _enabled + True + + + import + import math, os + + + _coordinate + (11, 109) + + + _rotation + 0 + + + + variable_config + + id + gain + + + _enabled + True + + + value + 35 + + + type + real + + + config_file + config_filename + + + section + 'usrp_rx_hrpt' + + + option + 'gain' + + + writeback + gain + + + _coordinate + (668, 101) + + + _rotation + 0 + + + + variable_config + + id + freq + + + _enabled + True + + + value + 1698e6 + + + type + real + + + config_file + config_filename + + + section + 'usrp_rx_hrpt' + + + option + 'freq' + + + writeback + freq + + + _coordinate + (511, 100) + + + _rotation + 0 + + + + variable_config + + id + side + + + _enabled + True + + + value + 'A' + + + type + string + + + config_file + config_filename + + + section + 'usrp_rx_hrpt' + + + option + 'side' + + + writeback + side + + + _coordinate + (198, 95) + + + _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 + (339, 434) + + + _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 + (127, 418) + + + _rotation + 0 + + + + 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 + (920, 426) + + + _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 + (720, 442) + + + _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 + (507, 442) + + + _rotation + 0 + + + + virtual_sink + + id + virtual_sink_0 + + + _enabled + True + + + stream_id + baseband + + + _coordinate + (1180, 457) + + + _rotation + 0 + + + + gr_file_sink + + id + frame_sink + + + _enabled + True + + + file + output_filename + + + type + short + + + vlen + 1 + + + _coordinate + (1026, 722) + + + _rotation + 0 + + + + virtual_source + + id + virtual_source_0 + + + _enabled + True + + + stream_id + baseband + + + _coordinate + (226, 669) + + + _rotation + 0 + + + + gr_binary_slicer_fb + + id + gr_binary_slicer_fb_0 + + + _enabled + True + + + _coordinate + (446, 673) + + + _rotation + 0 + + + + noaa_hrpt_deframer + + id + deframer + + + _enabled + True + + + _coordinate + (815, 673) + + + _rotation + 0 + + + + variable_config + + id + decim + + + _enabled + True + + + value + 32 + + + type + real + + + config_file + config_filename + + + section + 'usrp_rx_hrpt' + + + option + 'decim' + + + writeback + decim + + + _coordinate + (355, 97) + + + _rotation + 0 + + + + variable_config + + id + pll_alpha + + + _enabled + True + + + value + 0.01 + + + type + real + + + config_file + config_filename + + + section + 'usrp_rx_hrpt' + + + option + 'pll_alpha' + + + writeback + pll_alpha + + + _coordinate + (827, 100) + + + _rotation + 0 + + + + variable_config + + id + clock_alpha + + + _enabled + True + + + value + 0.01 + + + type + real + + + config_file + config_filename + + + section + 'usrp_rx_hrpt' + + + option + 'clock_alpha' + + + writeback + clock_alpha + + + _coordinate + (986, 101) + + + _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 + (1143, 101) + + + _rotation + 0 + + + + variable + + id + max_clock_offset + + + _enabled + True + + + value + 100e-6 + + + _coordinate + (705, 19) + + + _rotation + 0 + + + + noaa_hrpt_decoder + + id + decoder + + + _enabled + True + + + verbose + True + + + output + True + + + _coordinate + (1027, 623) + + + _rotation + 0 + + + + usrp_source + agc + 0 + 0 + + + agc + pll + 0 + 0 + + + pll + gr_moving_average_xx_0 + 0 + 0 + + + gr_moving_average_xx_0 + gr_clock_recovery_mm_xx_0 + 0 + 0 + + + gr_clock_recovery_mm_xx_0 + virtual_sink_0 + 0 + 0 + + + virtual_source_0 + gr_binary_slicer_fb_0 + 0 + 0 + + + deframer + frame_sink + 0 + 0 + + + deframer + decoder + 0 + 0 + + + gr_binary_slicer_fb_0 + deframer + 0 + 0 + +