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/CMakeLists.txt | 31 + gr-uhd/examples/grc/uhd_const_wave.grc | 1020 +++++++++++ gr-uhd/examples/grc/uhd_dpsk_mod.grc | 2238 +++++++++++++++++++++++++ gr-uhd/examples/grc/uhd_fft.grc | 1025 +++++++++++ gr-uhd/examples/grc/uhd_rx_dpsk.grc | 1431 ++++++++++++++++ gr-uhd/examples/grc/uhd_two_tone_loopback.grc | 2204 ++++++++++++++++++++++++ gr-uhd/examples/grc/uhd_tx_dpsk.grc | 1234 ++++++++++++++ gr-uhd/examples/grc/uhd_wbfm_receive.grc | 1365 +++++++++++++++ 8 files changed, 10548 insertions(+) create mode 100644 gr-uhd/examples/grc/CMakeLists.txt create mode 100644 gr-uhd/examples/grc/uhd_const_wave.grc create mode 100644 gr-uhd/examples/grc/uhd_dpsk_mod.grc create mode 100644 gr-uhd/examples/grc/uhd_fft.grc create mode 100644 gr-uhd/examples/grc/uhd_rx_dpsk.grc create mode 100644 gr-uhd/examples/grc/uhd_two_tone_loopback.grc create mode 100644 gr-uhd/examples/grc/uhd_tx_dpsk.grc create mode 100644 gr-uhd/examples/grc/uhd_wbfm_receive.grc (limited to 'gr-uhd/examples/grc') diff --git a/gr-uhd/examples/grc/CMakeLists.txt b/gr-uhd/examples/grc/CMakeLists.txt new file mode 100644 index 000000000..06c233d45 --- /dev/null +++ b/gr-uhd/examples/grc/CMakeLists.txt @@ -0,0 +1,31 @@ +# Copyright 2012 Free Software Foundation, Inc. +# +# This file is part of GNU Radio +# +# GNU Radio is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. +# +# GNU Radio is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Radio; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 51 Franklin Street, +# Boston, MA 02110-1301, USA. + +install( + FILES + uhd_const_wave.grc + uhd_dpsk_mod.grc + uhd_fft.grc + uhd_rx_dpsk.grc + uhd_two_tone_loopback.grc + uhd_tx_dpsk.grc + uhd_wbfm_receive.grc + DESTINATION ${GR_PKG_UHD_EXAMPLES_DIR} + COMPONENT "uhd_python" +) diff --git a/gr-uhd/examples/grc/uhd_const_wave.grc b/gr-uhd/examples/grc/uhd_const_wave.grc new file mode 100644 index 000000000..c64721c83 --- /dev/null +++ b/gr-uhd/examples/grc/uhd_const_wave.grc @@ -0,0 +1,1020 @@ + + + Sat Oct 8 10:24:27 2011 + + const_source_x + + id + const_source_x_0 + + + _enabled + True + + + type + complex + + + const + ampl + + + _coordinate + (102, 193) + + + _rotation + 0 + + + + variable_slider + + id + ampl + + + _enabled + True + + + label + Amplitude + + + value + .1 + + + min + 0 + + + max + 1 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (174, 313) + + + _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 + (318, 314) + + + _rotation + 0 + + + + variable_slider + + id + tun_freq + + + _enabled + True + + + label + UHD Freq (Hz) + + + value + freq + + + min + 2.4e9 + + + max + 2.5e9 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (24, 315) + + + _rotation + 0 + + + + options + + id + uhd_const_wave + + + _enabled + True + + + title + UHD Constant Wave + + + author + Example + + + description + Tune UHD Device + + + window_size + 1280, 1024 + + + generate_options + wx_gui + + + category + Custom + + + run_options + prompt + + + run + True + + + realtime_scheduling + + + + _coordinate + (10, 10) + + + _rotation + 0 + + + + parameter + + id + address + + + _enabled + True + + + label + IP Address + + + value + addr=192.168.11.2 + + + type + string + + + short_id + a + + + _coordinate + (188, 12) + + + _rotation + 0 + + + + parameter + + id + samp_rate + + + _enabled + True + + + label + Sample Rate + + + value + 1e6 + + + type + eng_float + + + short_id + s + + + _coordinate + (342, 14) + + + _rotation + 0 + + + + uhd_usrp_sink + + id + uhd_usrp_sink_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 + + + 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 + (308, 169) + + + _rotation + 0 + + + + parameter + + id + freq + + + _enabled + True + + + label + Default Frequency + + + value + 2.45e9 + + + type + eng_float + + + short_id + f + + + _coordinate + (468, 14) + + + _rotation + 0 + + + + parameter + + id + gain + + + _enabled + True + + + label + Default Gain + + + value + 0 + + + type + eng_float + + + short_id + g + + + _coordinate + (616, 13) + + + _rotation + 0 + + + + const_source_x_0 + uhd_usrp_sink_0 + 0 + 0 + + diff --git a/gr-uhd/examples/grc/uhd_dpsk_mod.grc b/gr-uhd/examples/grc/uhd_dpsk_mod.grc new file mode 100644 index 000000000..18ae9c3db --- /dev/null +++ b/gr-uhd/examples/grc/uhd_dpsk_mod.grc @@ -0,0 +1,2238 @@ + + + Sat Oct 8 14:44:48 2011 + + options + + id + uhd_dpsk_mod + + + _enabled + True + + + title + UHD DPSK Modulation + + + author + Example + + + description + Generate a DPSK signal + + + window_size + 1280, 1024 + + + generate_options + wx_gui + + + category + Custom + + + run_options + prompt + + + run + True + + + realtime_scheduling + + + + _coordinate + (10, 10) + + + _rotation + 0 + + + + variable + + id + samps_per_sym + + + _enabled + True + + + value + 8 + + + _coordinate + (33, 280) + + + _rotation + 0 + + + + wxgui_fftsink2 + + id + wxgui_fftsink2_0 + + + _enabled + True + + + type + complex + + + title + FFT Plot + + + samp_rate + samp_rate + + + baseband_freq + tun_freq + + + y_per_div + 10 + + + y_divs + 10 + + + ref_level + 10 + + + ref_scale + 2.0 + + + fft_size + 1024 + + + fft_rate + 30 + + + peak_hold + False + + + average + False + + + avg_alpha + 0 + + + win + None + + + win_size + + + + grid_pos + + + + notebook + + + + _coordinate + (697, 248) + + + _rotation + 0 + + + + wxgui_scopesink2 + + id + wxgui_scopesink2_0 + + + _enabled + False + + + type + complex + + + title + Scope Plot + + + samp_rate + samp_rate + + + v_scale + 0 + + + v_offset + 0 + + + t_scale + 1e-6 + + + ac_couple + False + + + xy_mode + True + + + num_inputs + 1 + + + win_size + + + + grid_pos + + + + notebook + + + + trig_mode + gr.gr_TRIG_MODE_AUTO + + + y_axis_label + Counts + + + _coordinate + (469, 355) + + + _rotation + 0 + + + + random_source_x + + id + random_source_x_0 + + + _enabled + True + + + type + byte + + + min + 0 + + + max + 256 + + + num_samps + 1000 + + + repeat + True + + + _coordinate + (245, 139) + + + _rotation + 0 + + + + gr_multiply_const_vxx + + id + gr_multiply_const_vxx_0 + + + _enabled + True + + + type + complex + + + const + ampl + + + vlen + 1 + + + _coordinate + (647, 163) + + + _rotation + 0 + + + + variable_slider + + id + tun_rx_gain + + + _enabled + True + + + label + UHD RX Gain + + + value + rx_gain + + + min + 0 + + + max + 20 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (477, 509) + + + _rotation + 0 + + + + variable_slider + + id + rx_freq_off + + + _enabled + True + + + label + RX Freq Offset (Hz) + + + value + freq_offset + + + min + -50e3 + + + max + +50e3 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (190, 507) + + + _rotation + 0 + + + + parameter + + id + rx_gain + + + _enabled + True + + + label + Default RX Gain + + + value + 0 + + + type + eng_float + + + short_id + + + + _coordinate + (1137, 8) + + + _rotation + 0 + + + + parameter + + id + freq_offset + + + _enabled + True + + + label + Rx Frequency Offset + + + value + 0 + + + type + eng_float + + + short_id + o + + + _coordinate + (824, 8) + + + _rotation + 0 + + + + uhd_usrp_source + + id + uhd_usrp_source_0 + + + _enabled + True + + + type + complex + + + dev_addr + address1 + + + 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+rx_freq_off + + + gain0 + tun_rx_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 + (216, 288) + + + _rotation + 0 + + + + wxgui_constellationsink2 + + id + wxgui_constellationsink2_0 + + + _enabled + True + + + title + Constellation Plot + + + samp_rate + samp_rate + + + frame_rate + 5 + + + const_size + 2048 + + + M + 4 + + + theta + 0 + + + loop_bw + 6.28/100.0 + + + fmax + 0.06 + + + mu + 0.5 + + + gain_mu + 0.005 + + + symbol_rate + samp_rate/samps_per_sym + + + omega_limit + 0.005 + + + win_size + + + + grid_pos + + + + notebook + + + + _coordinate + (862, 336) + + + _rotation + 0 + + + + digital_dxpsk_mod + + id + digital_dxpsk_mod_0 + + + _enabled + True + + + type + dqpsk + + + samples_per_symbol + samps_per_sym + + + excess_bw + 0.35 + + + gray_coded + True + + + verbose + False + + + log + False + + + _coordinate + (426, 139) + + + _rotation + 0 + + + + variable_slider + + id + ampl + + + _enabled + True + + + label + Amplitude + + + value + .1 + + + min + 0 + + + max + 1 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (33, 353) + + + _rotation + 0 + + + + uhd_usrp_sink + + id + uhd_usrp_sink_0 + + + _enabled + True + + + type + complex + + + dev_addr + address0 + + + 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 + + + gain0 + tun_rx_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 + (838, 139) + + + _rotation + 0 + + + + variable_slider + + id + tun_tx_gain + + + _enabled + True + + + label + UHD TX Gain + + + value + tx_gain + + + min + 0 + + + max + 20 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (351, 508) + + + _rotation + 0 + + + + parameter + + id + address0 + + + _enabled + True + + + label + IP Address, Dev 0 + + + value + addr=192.168.10.2 + + + type + string + + + short_id + + + + _coordinate + (197, 11) + + + _rotation + 0 + + + + parameter + + id + address1 + + + _enabled + True + + + label + IP Address, Dev 1 + + + value + addr=192.168.11.2 + + + type + string + + + short_id + + + + _coordinate + (357, 11) + + + _rotation + 0 + + + + parameter + + id + samp_rate + + + _enabled + True + + + label + Sample Rate + + + value + 1e6 + + + type + eng_float + + + short_id + s + + + _coordinate + (543, 8) + + + _rotation + 0 + + + + parameter + + id + freq + + + _enabled + True + + + label + Default Frequency + + + value + 2.45e9 + + + type + eng_float + + + short_id + f + + + _coordinate + (669, 8) + + + _rotation + 0 + + + + parameter + + id + tx_gain + + + _enabled + True + + + label + Default TX Gain + + + value + 0 + + + type + eng_float + + + short_id + + + + _coordinate + (1003, 8) + + + _rotation + 0 + + + + variable_slider + + id + tun_freq + + + _enabled + True + + + label + Freq (Hz) + + + value + freq + + + min + 2.4e9 + + + max + 2.5e9 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (35, 506) + + + _rotation + 0 + + + + uhd_usrp_source_0 + wxgui_fftsink2_0 + 0 + 0 + + + uhd_usrp_source_0 + wxgui_constellationsink2_0 + 0 + 0 + + + uhd_usrp_source_0 + wxgui_scopesink2_0 + 0 + 0 + + + gr_multiply_const_vxx_0 + uhd_usrp_sink_0 + 0 + 0 + + + random_source_x_0 + digital_dxpsk_mod_0 + 0 + 0 + + + digital_dxpsk_mod_0 + gr_multiply_const_vxx_0 + 0 + 0 + + diff --git a/gr-uhd/examples/grc/uhd_fft.grc b/gr-uhd/examples/grc/uhd_fft.grc new file mode 100644 index 000000000..29c375065 --- /dev/null +++ b/gr-uhd/examples/grc/uhd_fft.grc @@ -0,0 +1,1025 @@ + + + Sat Oct 8 10:26:30 2011 + + options + + id + uhd_fft + + + _enabled + True + + + title + UHD FFT Plotter + + + author + Example + + + description + FFT waveform plot + + + 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 + (633, 17) + + + _rotation + 0 + + + + parameter + + id + freq + + + _enabled + True + + + label + Default Frequency + + + value + 2.45e9 + + + type + eng_float + + + short_id + f + + + _coordinate + (485, 18) + + + _rotation + 0 + + + + parameter + + id + address + + + _enabled + True + + + label + IP Address + + + value + addr=192.168.11.2 + + + type + string + + + short_id + a + + + _coordinate + (205, 16) + + + _rotation + 0 + + + + parameter + + id + samp_rate + + + _enabled + True + + + label + Sample Rate + + + value + 1e6 + + + type + eng_float + + + short_id + s + + + _coordinate + (359, 18) + + + _rotation + 0 + + + + wxgui_fftsink2 + + id + wxgui_fftsink2_0 + + + _enabled + True + + + type + complex + + + title + FFT Plot + + + samp_rate + samp_rate + + + baseband_freq + tun_freq + + + y_per_div + 10 + + + y_divs + 10 + + + ref_level + 10 + + + ref_scale + 2.0 + + + fft_size + 1024 + + + fft_rate + 30 + + + peak_hold + False + + + average + False + + + avg_alpha + 0 + + + win + None + + + win_size + + + + grid_pos + + + + notebook + + + + _coordinate + (479, 176) + + + _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 + + + 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 + (212, 216) + + + _rotation + 0 + + + + variable_slider + + id + tun_freq + + + _enabled + True + + + label + UHD Freq (Hz) + + + value + freq + + + min + 2.4e9 + + + max + 2.5e9 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (36, 376) + + + _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 + (177, 377) + + + _rotation + 0 + + + + uhd_usrp_source_0 + wxgui_fftsink2_0 + 0 + 0 + + diff --git a/gr-uhd/examples/grc/uhd_rx_dpsk.grc b/gr-uhd/examples/grc/uhd_rx_dpsk.grc new file mode 100644 index 000000000..73848ff3c --- /dev/null +++ b/gr-uhd/examples/grc/uhd_rx_dpsk.grc @@ -0,0 +1,1431 @@ + + + Sat Oct 8 15:08:55 2011 + + options + + id + uhd_rx_dpsk + + + _enabled + True + + + title + UHD RX DPSK + + + author + + + + description + + + + window_size + 1280, 1024 + + + generate_options + wx_gui + + + category + Custom + + + run_options + prompt + + + run + True + + + realtime_scheduling + + + + _coordinate + (12, 9) + + + _rotation + 0 + + + + variable + + id + samps_per_sym + + + _enabled + True + + + value + 4 + + + _coordinate + (12, 88) + + + _rotation + 0 + + + + parameter + + id + samp_rate + + + _enabled + True + + + label + Sample Rate + + + value + 1e6 + + + type + eng_float + + + short_id + s + + + _coordinate + (339, 11) + + + _rotation + 0 + + + + parameter + + id + freq + + + _enabled + True + + + label + Default Frequency + + + value + 2.45e9 + + + type + eng_float + + + short_id + f + + + _coordinate + (466, 11) + + + _rotation + 0 + + + + parameter + + id + gain + + + _enabled + True + + + label + Default Gain + + + value + 0 + + + type + eng_float + + + short_id + g + + + _coordinate + (624, 14) + + + _rotation + 0 + + + + parameter + + id + address + + + _enabled + True + + + label + IP Address + + + value + addr=192.168.10.2 + + + type + string + + + short_id + a + + + _coordinate + (186, 10) + + + _rotation + 0 + + + + parameter + + id + freq_offset + + + _enabled + True + + + label + Rx Frequency Offset + + + value + 0 + + + type + eng_float + + + short_id + o + + + _coordinate + (748, 15) + + + _rotation + 0 + + + + variable_slider + + id + tun_freq + + + _enabled + True + + + label + Freq (Hz) + + + value + freq + + + min + 2.4e9 + + + max + 2.5e9 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (12, 436) + + + _rotation + 0 + + + + gr_null_sink + + id + gr_null_sink_0 + + + _enabled + True + + + type + byte + + + vlen + 1 + + + _coordinate + (615, 144) + + + _rotation + 0 + + + + variable_slider + + id + timing_bw + + + _enabled + True + + + label + Timing Loop BW + + + value + 6.28/100.0 + + + min + 0 + + + max + 1 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (604, 436) + + + _rotation + 0 + + + + variable_slider + + id + phase_bw + + + _enabled + True + + + label + Phase Loop BW + + + value + 6.28/100.0 + + + min + 0 + + + max + 1.0 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (461, 436) + + + _rotation + 0 + + + + wxgui_constellationsink2 + + id + wxgui_constellationsink2_0 + + + _enabled + True + + + title + Constellation Plot + + + samp_rate + samp_rate + + + frame_rate + 5 + + + const_size + 2048 + + + M + 4 + + + theta + 0 + + + loop_bw + 6.28/100.0 + + + fmax + 0.06 + + + mu + 0.5 + + + gain_mu + 0.005 + + + symbol_rate + samp_rate/samps_per_sym + + + omega_limit + 0.005 + + + win_size + + + + grid_pos + + + + notebook + + + + _coordinate + (931, 313) + + + _rotation + 0 + + + + wxgui_fftsink2 + + id + wxgui_fftsink2_0 + + + _enabled + True + + + type + complex + + + title + FFT Plot + + + samp_rate + samp_rate + + + baseband_freq + tun_freq + + + y_per_div + 10 + + + y_divs + 10 + + + ref_level + 10 + + + ref_scale + 2.0 + + + fft_size + 1024 + + + fft_rate + 30 + + + peak_hold + False + + + average + False + + + avg_alpha + 0 + + + win + None + + + win_size + + + + grid_pos + + + + notebook + + + + _coordinate + (710, 236) + + + _rotation + 0 + + + + digital_dxpsk_demod + + id + digital_dxpsk_demod_0 + + + _enabled + True + + + type + dqpsk + + + samples_per_symbol + samps_per_sym + + + excess_bw + 0.35 + + + phase_bw + 6.28/100.0 + + + timing_bw + 6.28/100.0 + + + omega_relative_limit + 0.005 + + + gray_coded + True + + + verbose + False + + + log + False + + + sync_out + False + + + _coordinate + (303, 154) + + + _rotation + 0 + + + + variable_slider + + id + rx_freq_off + + + _enabled + True + + + label + RX Freq Offset (Hz) + + + value + freq_offset + + + min + -100e3 + + + max + +100e3 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (149, 437) + + + _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 + (306, 438) + + + _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+rx_freq_off + + + 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 + (18, 276) + + + _rotation + 0 + + + + digital_dxpsk_demod_0 + gr_null_sink_0 + 0 + 0 + + + uhd_usrp_source_0 + digital_dxpsk_demod_0 + 0 + 0 + + + uhd_usrp_source_0 + wxgui_constellationsink2_0 + 0 + 0 + + + uhd_usrp_source_0 + wxgui_fftsink2_0 + 0 + 0 + + diff --git a/gr-uhd/examples/grc/uhd_two_tone_loopback.grc b/gr-uhd/examples/grc/uhd_two_tone_loopback.grc new file mode 100644 index 000000000..8bcbc0792 --- /dev/null +++ b/gr-uhd/examples/grc/uhd_two_tone_loopback.grc @@ -0,0 +1,2204 @@ + + + Sat Oct 8 15:27:04 2011 + + parameter + + id + tx_gain + + + _enabled + True + + + label + Default TX Gain + + + value + 0 + + + type + eng_float + + + short_id + + + + _coordinate + (999, 11) + + + _rotation + 0 + + + + parameter + + id + freq + + + _enabled + True + + + label + Default Frequency + + + value + 2.45e9 + + + type + eng_float + + + short_id + f + + + _coordinate + (665, 11) + + + _rotation + 0 + + + + parameter + + id + freq_offset + + + _enabled + True + + + label + Rx Frequency Offset + + + value + 0 + + + type + eng_float + + + short_id + o + + + _coordinate + (820, 11) + + + _rotation + 0 + + + + parameter + + id + address1 + + + _enabled + True + + + label + IP Address, Dev 1 + + + value + addr=192.168.11.2 + + + type + string + + + short_id + + + + _coordinate + (353, 14) + + + _rotation + 0 + + + + parameter + + id + address0 + + + _enabled + True + + + label + IP Address, Dev 0 + + + value + addr=192.168.10.2 + + + type + string + + + short_id + + + + _coordinate + (193, 14) + + + _rotation + 0 + + + + gr_sig_source_x + + id + gr_sig_source_x + + + _enabled + True + + + type + complex + + + samp_rate + samp_rate + + + waveform + gr.GR_COS_WAVE + + + freq + tone1 + + + amp + tone_ampl + + + offset + 0 + + + _coordinate + (258, 136) + + + _rotation + 0 + + + + gr_sig_source_x + + id + gr_sig_source_x0 + + + _enabled + True + + + type + complex + + + samp_rate + samp_rate + + + waveform + gr.GR_COS_WAVE + + + freq + tone2 + + + amp + tone_ampl + + + offset + 0 + + + _coordinate + (259, 248) + + + _rotation + 0 + + + + gr_noise_source_x + + id + gr_noise_source_x + + + _enabled + True + + + type + complex + + + noise_type + gr.GR_GAUSSIAN + + + amp + noise_ampl + + + seed + 42 + + + _coordinate + (279, 364) + + + _rotation + 0 + + + + uhd_usrp_sink + + id + uhd_usrp_sink_0 + + + _enabled + True + + + type + complex + + + dev_addr + address0 + + + 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 + + + gain0 + tun_rx_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 + (669, 178) + + + _rotation + 0 + + + + parameter + + id + rx_gain + + + _enabled + True + + + label + Default RX Gain + + + value + 0 + + + type + eng_float + + + short_id + + + + _coordinate + (1139, 12) + + + _rotation + 0 + + + + variable_slider + + id + tone1 + + + _enabled + True + + + label + Tone 1 + + + value + 50e3 + + + min + -samp_rate/2 + + + max + samp_rate/2 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + 0, 0, 1, 4 + + + notebook + + + + _coordinate + (161, 484) + + + _rotation + 0 + + + + variable_slider + + id + tone2 + + + _enabled + True + + + label + Tone 2 + + + value + 75e3 + + + min + -samp_rate/2 + + + max + samp_rate/2 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + 0, 4, 1, 4 + + + notebook + + + + _coordinate + (308, 483) + + + _rotation + 0 + + + + variable_slider + + id + tun_tx_gain + + + _enabled + True + + + label + UHD TX Gain + + + value + tx_gain + + + min + 0 + + + max + 20 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (655, 486) + + + _rotation + 0 + + + + variable_slider + + id + tun_freq + + + _enabled + True + + + label + Freq (Hz) + + + value + freq + + + min + 2.4e9 + + + max + 2.5e9 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (514, 487) + + + _rotation + 0 + + + + variable_slider + + id + tun_rx_gain + + + _enabled + True + + + label + UHD RX Gain + + + value + rx_gain + + + min + 0 + + + max + 20 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (781, 487) + + + _rotation + 0 + + + + uhd_usrp_source + + id + uhd_usrp_source_0 + + + _enabled + True + + + type + complex + + + dev_addr + address1 + + + 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 + + + gain0 + tun_rx_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 + (672, 320) + + + _rotation + 0 + + + + variable_slider + + id + tone_ampl + + + _enabled + True + + + label + Tone Ampl + + + value + 0.15 + + + min + 0 + + + max + 1 + + + num_steps + 100 + + + style + wx.SL_VERTICAL + + + converver + float_converter + + + grid_pos + 1, 0, 2, 1 + + + notebook + + + + _coordinate + (14, 485) + + + _rotation + 0 + + + + variable_slider + + id + noise_ampl + + + _enabled + True + + + label + Noise Ampl + + + value + 0.1 + + + min + 0 + + + max + 1 + + + num_steps + 100 + + + style + wx.SL_VERTICAL + + + converver + float_converter + + + grid_pos + 1, 1, 2, 1 + + + notebook + + + + _coordinate + (15, 335) + + + _rotation + 0 + + + + gr_add_xx + + id + gr_add_xx + + + _enabled + True + + + type + complex + + + num_inputs + 3 + + + vlen + 1 + + + _coordinate + (529, 172) + + + _rotation + 0 + + + + options + + id + uhd_two_tone_loopback + + + _enabled + True + + + title + UHD Loopback - 2 Tone + + + author + Example + + + description + Loopback test + + + window_size + 1280, 1024 + + + generate_options + wx_gui + + + category + Custom + + + run_options + prompt + + + run + True + + + realtime_scheduling + + + + _coordinate + (10, 10) + + + _rotation + 0 + + + + wxgui_fftsink2 + + id + wxgui_fftsink2 + + + _enabled + True + + + type + complex + + + title + FFT Plot + + + samp_rate + samp_rate + + + baseband_freq + 0 + + + y_per_div + 10 + + + y_divs + 10 + + + ref_level + 0 + + + ref_scale + 2.0 + + + fft_size + 512*2 + + + fft_rate + 15 + + + peak_hold + False + + + average + False + + + avg_alpha + 0 + + + win + window.blackmanharris + + + win_size + + + + grid_pos + 1, 2, 2, 4 + + + notebook + + + + _coordinate + (1114, 264) + + + _rotation + 0 + + + + parameter + + id + samp_rate + + + _enabled + True + + + label + Sample Rate + + + value + 500e3 + + + type + eng_float + + + short_id + s + + + _coordinate + (539, 11) + + + _rotation + 0 + + + + gr_noise_source_x + gr_add_xx + 0 + 2 + + + gr_sig_source_x0 + gr_add_xx + 0 + 1 + + + gr_sig_source_x + gr_add_xx + 0 + 0 + + + gr_add_xx + uhd_usrp_sink_0 + 0 + 0 + + + uhd_usrp_source_0 + wxgui_fftsink2 + 0 + 0 + + diff --git a/gr-uhd/examples/grc/uhd_tx_dpsk.grc b/gr-uhd/examples/grc/uhd_tx_dpsk.grc new file mode 100644 index 000000000..281ba8429 --- /dev/null +++ b/gr-uhd/examples/grc/uhd_tx_dpsk.grc @@ -0,0 +1,1234 @@ + + + Sat Oct 8 14:55:39 2011 + + variable + + id + samps_per_sym + + + _enabled + True + + + value + 4 + + + _coordinate + (10, 100) + + + _rotation + 0 + + + + variable_slider + + id + ampl + + + _enabled + True + + + label + Amplitude + + + value + .1 + + + min + 0 + + + max + 1 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (7, 299) + + + _rotation + 0 + + + + parameter + + id + samp_rate + + + _enabled + True + + + label + Sample Rate + + + value + 1e6 + + + type + eng_float + + + short_id + s + + + _coordinate + (334, 15) + + + _rotation + 0 + + + + parameter + + id + freq + + + _enabled + True + + + label + Default Frequency + + + value + 2.45e9 + + + type + eng_float + + + short_id + f + + + _coordinate + (463, 17) + + + _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 + (151, 441) + + + _rotation + 0 + + + + variable_slider + + id + tun_freq + + + _enabled + True + + + label + Freq (Hz) + + + value + freq + + + min + 2.4e9 + + + max + 2.5e9 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (7, 441) + + + _rotation + 0 + + + + random_source_x + + id + random_source_x_0 + + + _enabled + True + + + type + byte + + + min + 0 + + + max + 2**8 + + + num_samps + 1000 + + + repeat + True + + + _coordinate + (177, 162) + + + _rotation + 0 + + + + digital_dxpsk_mod + + id + digital_dxpsk_mod_0 + + + _enabled + True + + + type + dqpsk + + + samples_per_symbol + samps_per_sym + + + excess_bw + 0.35 + + + gray_coded + True + + + verbose + False + + + log + False + + + _coordinate + (366, 162) + + + _rotation + 0 + + + + parameter + + id + gain + + + _enabled + True + + + label + Default Gain + + + value + 0 + + + type + eng_float + + + short_id + g + + + _coordinate + (619, 15) + + + _rotation + 0 + + + + parameter + + id + address + + + _enabled + True + + + label + IP Address + + + value + addr=192.168.10.2 + + + type + string + + + short_id + a + + + _coordinate + (177, 14) + + + _rotation + 0 + + + + uhd_usrp_sink + + id + uhd_usrp_sink_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 + + + 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 + (783, 162) + + + _rotation + 0 + + + + gr_multiply_const_vxx + + id + gr_multiply_const_vxx_0 + + + _enabled + True + + + type + complex + + + const + ampl + + + vlen + 1 + + + _coordinate + (566, 186) + + + _rotation + 0 + + + + wxgui_fftsink2 + + id + wxgui_fftsink2_0 + + + _enabled + True + + + type + complex + + + title + Transmit Spectrum + + + samp_rate + samp_rate + + + baseband_freq + tun_freq + + + y_per_div + 10 + + + y_divs + 10 + + + ref_level + 0 + + + ref_scale + 2 + + + fft_size + 1024 + + + fft_rate + 20 + + + peak_hold + False + + + average + False + + + avg_alpha + 0 + + + win + None + + + win_size + + + + grid_pos + + + + notebook + + + + _coordinate + (827, 299) + + + _rotation + 0 + + + + options + + id + uhd_tx_dpsk + + + _enabled + True + + + title + UHD TX DPSK + + + author + + + + description + + + + window_size + 1280, 1024 + + + generate_options + wx_gui + + + category + Custom + + + run_options + prompt + + + run + True + + + realtime_scheduling + + + + _coordinate + (10, 10) + + + _rotation + 0 + + + + random_source_x_0 + digital_dxpsk_mod_0 + 0 + 0 + + + gr_multiply_const_vxx_0 + wxgui_fftsink2_0 + 0 + 0 + + + gr_multiply_const_vxx_0 + uhd_usrp_sink_0 + 0 + 0 + + + digital_dxpsk_mod_0 + gr_multiply_const_vxx_0 + 0 + 0 + + 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