From 7dc08ba2875c0dace0432cd514add6ce2b085f44 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Tue, 3 Apr 2012 11:35:35 -0400 Subject: examples: Reworked locations and installation of examples. All python and GRC examples directly associated with a top-level component are now in that examples directory. Examples are split into c++, python, and grc dirs but are all installed into $prefix/share/gnuradio/examples/. --- gr-uhd/examples/grc/uhd_wbfm_receive.grc | 1365 ++++++++++++++++++++++++++++++ 1 file changed, 1365 insertions(+) create mode 100644 gr-uhd/examples/grc/uhd_wbfm_receive.grc (limited to 'gr-uhd/examples/grc/uhd_wbfm_receive.grc') diff --git a/gr-uhd/examples/grc/uhd_wbfm_receive.grc b/gr-uhd/examples/grc/uhd_wbfm_receive.grc new file mode 100644 index 000000000..62658a2eb --- /dev/null +++ b/gr-uhd/examples/grc/uhd_wbfm_receive.grc @@ -0,0 +1,1365 @@ + + + Sat Oct 8 15:18:49 2011 + + options + + id + uhd_wbfm_receive + + + _enabled + True + + + title + UHD WBFM Receive + + + author + Example + + + description + WBFM Receive + + + window_size + 1280, 1024 + + + generate_options + wx_gui + + + category + Custom + + + run_options + prompt + + + run + True + + + realtime_scheduling + + + + _coordinate + (10, 10) + + + _rotation + 0 + + + + parameter + + id + gain + + + _enabled + True + + + label + Default Gain + + + value + 0 + + + type + eng_float + + + short_id + g + + + _coordinate + (631, 15) + + + _rotation + 0 + + + + parameter + + id + freq + + + _enabled + True + + + label + Default Frequency + + + value + 93.3e6 + + + type + eng_float + + + short_id + f + + + _coordinate + (479, 15) + + + _rotation + 0 + + + + variable_slider + + id + tun_freq + + + _enabled + True + + + label + Freq (Hz) + + + value + freq + + + min + 87.9e6 + + + max + 108.1e6 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (15, 441) + + + _rotation + 0 + + + + variable_slider + + id + fine + + + _enabled + True + + + label + Fine Freq (MHz) + + + value + 0 + + + min + -.1 + + + max + .1 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + 0, 2, 1, 2 + + + notebook + + + + _coordinate + (277, 444) + + + _rotation + 0 + + + + variable_slider + + id + tun_gain + + + _enabled + True + + + label + UHD Gain + + + value + gain + + + min + 0 + + + max + 20 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (158, 440) + + + _rotation + 0 + + + + variable_slider + + id + volume + + + _enabled + True + + + label + Volume + + + value + 1 + + + min + 0 + + + max + 10 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + 1, 0, 1, 4 + + + notebook + + + + _coordinate + (436, 446) + + + _rotation + 0 + + + + gr_multiply_const_vxx + + id + gr_multiply_const_vxx + + + _enabled + True + + + type + float + + + const + volume + + + vlen + 1 + + + _coordinate + (836, 161) + + + _rotation + 0 + + + + uhd_usrp_source + + id + uhd_usrp_source_0 + + + _enabled + True + + + type + complex + + + dev_addr + address + + + sync + + + + clock_rate + 0.0 + + + num_mboards + 1 + + + ref_source0 + + + + sd_spec0 + + + + ref_source1 + + + + sd_spec1 + + + + ref_source2 + + + + sd_spec2 + + + + ref_source3 + + + + sd_spec3 + + + + ref_source4 + + + + sd_spec4 + + + + ref_source5 + + + + sd_spec5 + + + + ref_source6 + + + + sd_spec6 + + + + ref_source7 + + + + sd_spec7 + + + + nchan + 1 + + + samp_rate + samp_rate + + + center_freq0 + tun_freq+fine + + + gain0 + tun_gain + + + ant0 + + + + bw0 + 0 + + + center_freq1 + 0 + + + gain1 + 0 + + + ant1 + + + + bw1 + 0 + + + center_freq2 + 0 + + + gain2 + 0 + + + ant2 + + + + bw2 + 0 + + + center_freq3 + 0 + + + gain3 + 0 + + + ant3 + + + + bw3 + 0 + + + center_freq4 + 0 + + + gain4 + 0 + + + ant4 + + + + bw4 + 0 + + + center_freq5 + 0 + + + gain5 + 0 + + + ant5 + + + + bw5 + 0 + + + center_freq6 + 0 + + + gain6 + 0 + + + ant6 + + + + bw6 + 0 + + + center_freq7 + 0 + + + gain7 + 0 + + + ant7 + + + + bw7 + 0 + + + center_freq8 + 0 + + + gain8 + 0 + + + ant8 + + + + bw8 + 0 + + + center_freq9 + 0 + + + gain9 + 0 + + + ant9 + + + + bw9 + 0 + + + center_freq10 + 0 + + + gain10 + 0 + + + ant10 + + + + bw10 + 0 + + + center_freq11 + 0 + + + gain11 + 0 + + + ant11 + + + + bw11 + 0 + + + center_freq12 + 0 + + + gain12 + 0 + + + ant12 + + + + bw12 + 0 + + + center_freq13 + 0 + + + gain13 + 0 + + + ant13 + + + + bw13 + 0 + + + center_freq14 + 0 + + + gain14 + 0 + + + ant14 + + + + bw14 + 0 + + + center_freq15 + 0 + + + gain15 + 0 + + + ant15 + + + + bw15 + 0 + + + center_freq16 + 0 + + + gain16 + 0 + + + ant16 + + + + bw16 + 0 + + + center_freq17 + 0 + + + gain17 + 0 + + + ant17 + + + + bw17 + 0 + + + center_freq18 + 0 + + + gain18 + 0 + + + ant18 + + + + bw18 + 0 + + + center_freq19 + 0 + + + gain19 + 0 + + + ant19 + + + + bw19 + 0 + + + center_freq20 + 0 + + + gain20 + 0 + + + ant20 + + + + bw20 + 0 + + + center_freq21 + 0 + + + gain21 + 0 + + + ant21 + + + + bw21 + 0 + + + center_freq22 + 0 + + + gain22 + 0 + + + ant22 + + + + bw22 + 0 + + + center_freq23 + 0 + + + gain23 + 0 + + + ant23 + + + + bw23 + 0 + + + center_freq24 + 0 + + + gain24 + 0 + + + ant24 + + + + bw24 + 0 + + + center_freq25 + 0 + + + gain25 + 0 + + + ant25 + + + + bw25 + 0 + + + center_freq26 + 0 + + + gain26 + 0 + + + ant26 + + + + bw26 + 0 + + + center_freq27 + 0 + + + gain27 + 0 + + + ant27 + + + + bw27 + 0 + + + center_freq28 + 0 + + + gain28 + 0 + + + ant28 + + + + bw28 + 0 + + + center_freq29 + 0 + + + gain29 + 0 + + + ant29 + + + + bw29 + 0 + + + center_freq30 + 0 + + + gain30 + 0 + + + ant30 + + + + bw30 + 0 + + + center_freq31 + 0 + + + gain31 + 0 + + + ant31 + + + + bw31 + 0 + + + _coordinate + (14, 165) + + + _rotation + 0 + + + + parameter + + id + address + + + _enabled + True + + + label + IP Address + + + value + addr=192.168.10.2 + + + type + string + + + short_id + a + + + _coordinate + (199, 14) + + + _rotation + 0 + + + + wxgui_fftsink2 + + id + wxgui_fftsink2 + + + _enabled + True + + + type + complex + + + title + FFT Plot + + + samp_rate + samp_rate + + + baseband_freq + (freq+fine)*1e6 + + + y_per_div + 10 + + + y_divs + 10 + + + ref_level + 0 + + + ref_scale + 2.0 + + + fft_size + 512 + + + fft_rate + 15 + + + peak_hold + False + + + average + False + + + avg_alpha + 0 + + + win + None + + + win_size + + + + grid_pos + 2, 0, 2, 4 + + + notebook + + + + _coordinate + (624, 278) + + + _rotation + 0 + + + + parameter + + id + samp_rate + + + _enabled + True + + + label + Sample Rate + + + value + 400e3 + + + type + eng_float + + + short_id + s + + + _coordinate + (352, 15) + + + _rotation + 0 + + + + parameter + + id + audio_output + + + _enabled + True + + + label + Audio Output Device + + + value + + + + type + string + + + short_id + O + + + _coordinate + (769, 13) + + + _rotation + 0 + + + + audio_sink + + id + audio_sink + + + _enabled + True + + + samp_rate + int(samp_rate/audio_decim) + + + device_name + audio_output + + + ok_to_block + True + + + num_inputs + 1 + + + _coordinate + (1023, 161) + + + _rotation + 0 + + + + blks2_wfm_rcv + + id + blks2_wfm_rcv + + + _enabled + True + + + quad_rate + samp_rate + + + audio_decimation + audio_decim + + + _coordinate + (626, 153) + + + _rotation + 0 + + + + low_pass_filter + + id + low_pass_filter_0 + + + _enabled + True + + + type + fir_filter_ccf + + + decim + 1 + + + interp + 1 + + + gain + 1 + + + samp_rate + samp_rate + + + cutoff_freq + 115e3 + + + width + 30e3 + + + win + firdes.WIN_HANN + + + beta + 6.76 + + + _coordinate + (326, 141) + + + _rotation + 0 + + + + variable + + id + audio_decim + + + _enabled + True + + + value + 10 + + + _coordinate + (19, 351) + + + _rotation + 0 + + + + gr_multiply_const_vxx + audio_sink + 0 + 0 + + + blks2_wfm_rcv + gr_multiply_const_vxx + 0 + 0 + + + low_pass_filter_0 + blks2_wfm_rcv + 0 + 0 + + + uhd_usrp_source_0 + low_pass_filter_0 + 0 + 0 + + + low_pass_filter_0 + wxgui_fftsink2 + 0 + 0 + + -- cgit