From ccca4c7d043bd5e14e48c67880da498c7d578734 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 6 Oct 2009 18:00:21 -0700 Subject: moved grc examples to gnuradio-examples/grc --- grc/examples/usrp/.gitignore | 2 - grc/examples/usrp/usrp2_const_wave.grc | 252 --------- grc/examples/usrp/usrp2_dpsk_mod.grc | 693 ------------------------- grc/examples/usrp/usrp2_fft.grc | 264 ---------- grc/examples/usrp/usrp_two_tone_loopback.grc | 749 --------------------------- grc/examples/usrp/usrp_wbfm_receive.grc | 466 ----------------- 6 files changed, 2426 deletions(-) delete mode 100644 grc/examples/usrp/.gitignore delete mode 100644 grc/examples/usrp/usrp2_const_wave.grc delete mode 100644 grc/examples/usrp/usrp2_dpsk_mod.grc delete mode 100644 grc/examples/usrp/usrp2_fft.grc delete mode 100644 grc/examples/usrp/usrp_two_tone_loopback.grc delete mode 100644 grc/examples/usrp/usrp_wbfm_receive.grc (limited to 'grc/examples/usrp') diff --git a/grc/examples/usrp/.gitignore b/grc/examples/usrp/.gitignore deleted file mode 100644 index b336cc7ce..000000000 --- a/grc/examples/usrp/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile -/Makefile.in diff --git a/grc/examples/usrp/usrp2_const_wave.grc b/grc/examples/usrp/usrp2_const_wave.grc deleted file mode 100644 index fdbd7c1f3..000000000 --- a/grc/examples/usrp/usrp2_const_wave.grc +++ /dev/null @@ -1,252 +0,0 @@ - - - Wed Apr 15 11:22:56 2009 - - const_source_x - - id - const_source_x_0 - - - _enabled - True - - - type - complex - - - const - ampl - - - _coordinate - (284, 154) - - - _rotation - 0 - - - - usrp2_sink_xxxx - - id - usrp2_sink_xxxx_0 - - - _enabled - True - - - type - complex - - - interface - - - - mac_addr - - - - interpolation - interp - - - frequency - tun_freq - - - gain - 0 - - - _coordinate - (493, 106) - - - _rotation - 0 - - - - variable - - id - interp - - - _enabled - True - - - value - 16 - - - _coordinate - (16, 255) - - - _rotation - 0 - - - - variable_slider - - id - tun_freq - - - _enabled - True - - - label - USRP2 Freq (Hz) - - - value - 2.45e9 - - - min - 2.4e9 - - - max - 2.5e9 - - - num_steps - 100 - - - slider_length - 200 - - - slider_type - horizontal - - - grid_pos - - - - _coordinate - (30, 376) - - - _rotation - 0 - - - - variable_slider - - id - ampl - - - _enabled - True - - - label - Amplitude - - - value - .1 - - - min - 0 - - - max - 1 - - - num_steps - 100 - - - slider_length - 200 - - - slider_type - horizontal - - - grid_pos - - - - _coordinate - (204, 376) - - - _rotation - 0 - - - - options - - id - usrp2_const_wave - - - _enabled - True - - - title - USRP2 Constant Wave - - - author - Example - - - description - Tune USRP2 - - - window_size - 1280, 1024 - - - generate_options - wx_gui - - - category - Custom - - - realtime_scheduling - - - - _coordinate - (10, 10) - - - _rotation - 0 - - - - const_source_x_0 - usrp2_sink_xxxx_0 - 0 - 0 - - diff --git a/grc/examples/usrp/usrp2_dpsk_mod.grc b/grc/examples/usrp/usrp2_dpsk_mod.grc deleted file mode 100644 index e9f9b41ea..000000000 --- a/grc/examples/usrp/usrp2_dpsk_mod.grc +++ /dev/null @@ -1,693 +0,0 @@ - - - Wed Apr 15 17:31:00 2009 - - options - - id - usrp2_dpsk_mod - - - _enabled - True - - - title - USRP2 DPSK Modulation - - - author - Example - - - description - Generate a DPSK signal - - - window_size - 1280, 1024 - - - generate_options - wx_gui - - - category - Custom - - - realtime_scheduling - - - - _coordinate - (10, 10) - - - _rotation - 0 - - - - variable - - id - samp_rate - - - _enabled - True - - - value - 100e6/interp - - - _coordinate - (52, 166) - - - _rotation - 0 - - - - usrp2_sink_xxxx - - id - usrp2_sink_xxxx_0 - - - _enabled - True - - - type - complex - - - interface - - - - mac_addr - - - - interpolation - interp - - - frequency - tun_freq - - - gain - 0 - - - _coordinate - (1059, 56) - - - _rotation - 0 - - - - gr_multiply_const_vxx - - id - gr_multiply_const_vxx_0 - - - _enabled - True - - - type - complex - - - const - ampl - - - vlen - 1 - - - _coordinate - (679, 58) - - - _rotation - 0 - - - - blks2_dxpsk_mod - - id - blks2_dxpsk_mod_0 - - - _enabled - True - - - type - dqpsk - - - samples_per_symbol - samps_per_sym - - - excess_bw - 0.35 - - - gray_code - True - - - _coordinate - (468, 55) - - - _rotation - 0 - - - - variable - - id - interp - - - _enabled - True - - - value - 100 - - - _coordinate - (31, 256) - - - _rotation - 0 - - - - variable - - id - samps_per_sym - - - _enabled - True - - - value - 8 - - - _coordinate - (126, 250) - - - _rotation - 0 - - - - random_source_x - - id - random_source_x_0 - - - _enabled - True - - - type - byte - - - min - 0 - - - max - 256 - - - num_samps - 1000 - - - repeat - True - - - _coordinate - (255, 39) - - - _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 - - - - _coordinate - (246, 372) - - - _rotation - 0 - - - - variable_slider - - id - rx_freq_off - - - _enabled - True - - - label - RX Freq Offset (Hz) - - - value - -20e3 - - - min - -50e3 - - - max - +50e3 - - - num_steps - 100 - - - style - wx.SL_HORIZONTAL - - - converver - float_converter - - - grid_pos - - - - _coordinate - (247, 508) - - - _rotation - 0 - - - - variable_slider - - id - tun_freq - - - _enabled - True - - - label - USRP2 Freq (Hz) - - - value - 2.45e9 - - - min - 2.4e9 - - - max - 2.5e9 - - - num_steps - 100 - - - style - wx.SL_HORIZONTAL - - - converver - float_converter - - - grid_pos - - - - _coordinate - (49, 341) - - - _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 - - - alpha - 0.005 - - - fmax - 0.06 - - - mu - 0.5 - - - gain_mu - 0.005 - - - symbol_rate - samp_rate/samps_per_sym - - - omega_limit - 0.005 - - - grid_pos - - - - _coordinate - (920, 202) - - - _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 - - - ref_level - 10 - - - fft_size - 1024 - - - fft_rate - 30 - - - peak_hold - False - - - average - False - - - avg_alpha - 0 - - - grid_pos - - - - _coordinate - (691, 155) - - - _rotation - 0 - - - - wxgui_scopesink2 - - id - wxgui_scopesink2_0 - - - _enabled - False - - - type - complex - - - title - Scope Plot - - - samp_rate - samp_rate - - - v_scale - 0 - - - t_scale - 1e-6 - - - ac_couple - False - - - xy_mode - True - - - num_inputs - 1 - - - grid_pos - - - - _coordinate - (515, 272) - - - _rotation - 0 - - - - usrp2_source_xxxx - - id - usrp2_source_xxxx_0 - - - _enabled - True - - - type - complex - - - interface - eth1 - - - mac_addr - - - - decimation - interp - - - frequency - tun_freq + rx_freq_off - - - gain - 30 - - - _coordinate - (270, 200) - - - _rotation - 0 - - - - random_source_x_0 - blks2_dxpsk_mod_0 - 0 - 0 - - - blks2_dxpsk_mod_0 - gr_multiply_const_vxx_0 - 0 - 0 - - - gr_multiply_const_vxx_0 - usrp2_sink_xxxx_0 - 0 - 0 - - - usrp2_source_xxxx_0 - wxgui_constellationsink2_0 - 0 - 0 - - - usrp2_source_xxxx_0 - wxgui_scopesink2_0 - 0 - 0 - - - usrp2_source_xxxx_0 - wxgui_fftsink2_0 - 0 - 0 - - diff --git a/grc/examples/usrp/usrp2_fft.grc b/grc/examples/usrp/usrp2_fft.grc deleted file mode 100644 index 134bd4614..000000000 --- a/grc/examples/usrp/usrp2_fft.grc +++ /dev/null @@ -1,264 +0,0 @@ - - - Wed Apr 15 17:30:20 2009 - - options - - id - usrp2_fft - - - _enabled - True - - - title - USRP2 FFT Plotter - - - author - Example - - - description - FFT waveform plot - - - window_size - 1280, 1024 - - - generate_options - wx_gui - - - category - Custom - - - realtime_scheduling - - - - _coordinate - (10, 10) - - - _rotation - 0 - - - - variable - - id - samp_rate - - - _enabled - True - - - value - 100e6/decim - - - _coordinate - (10, 170) - - - _rotation - 0 - - - - variable - - id - decim - - - _enabled - True - - - value - 16 - - - _coordinate - (24, 267) - - - _rotation - 0 - - - - variable_slider - - id - tun_freq - - - _enabled - True - - - label - USRP2 Freq (Hz) - - - value - 2.45e9 - - - min - 2.4e9 - - - max - 2.5e9 - - - num_steps - 100 - - - style - wx.SL_HORIZONTAL - - - converver - float_converter - - - grid_pos - - - - _coordinate - (32, 365) - - - _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 - - - ref_level - 10 - - - fft_size - 1024 - - - fft_rate - 30 - - - peak_hold - False - - - average - False - - - avg_alpha - 0 - - - grid_pos - - - - _coordinate - (466, 100) - - - _rotation - 0 - - - - usrp2_source_xxxx - - id - usrp2_source_xxxx_0 - - - _enabled - True - - - type - complex - - - interface - - - - mac_addr - - - - decimation - decim - - - frequency - tun_freq - - - gain - 0 - - - _coordinate - (211, 200) - - - _rotation - 0 - - - - usrp2_source_xxxx_0 - wxgui_fftsink2_0 - 0 - 0 - - diff --git a/grc/examples/usrp/usrp_two_tone_loopback.grc b/grc/examples/usrp/usrp_two_tone_loopback.grc deleted file mode 100644 index 3df977044..000000000 --- a/grc/examples/usrp/usrp_two_tone_loopback.grc +++ /dev/null @@ -1,749 +0,0 @@ - - - Fri Apr 17 18:23:35 2009 - - variable - - id - samp_rate - - - _enabled - True - - - value - 64e6/200 - - - _coordinate - (9, 166) - - - _rotation - 0 - - - - variable - - id - tun_freq - - - _enabled - True - - - value - int(100e6) - - - _coordinate - (116, 166) - - - _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, 20) - - - _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 - (255, 179) - - - _rotation - 0 - - - - gr_add_xx - - id - gr_add_xx - - - _enabled - True - - - type - complex - - - num_inputs - 3 - - - vlen - 1 - - - _coordinate - (528, 78) - - - _rotation - 0 - - - - parameter - - id - tx_side - - - _enabled - True - - - label - - - - value - A - - - type - string - - - _coordinate - (688, 384) - - - _rotation - 0 - - - - usrp_simple_sink_x - - id - usrp_simple_sink_x - - - _enabled - True - - - type - complex - - - format - - - - which - 0 - - - interpolation - 400 - - - frequency - tun_freq - - - gain - 0 - - - side - tx_side - - - transmit - - - - _coordinate - (835, 5) - - - _rotation - 0 - - - - usrp_simple_source_x - - id - usrp_simple_source_x - - - _enabled - True - - - type - complex - - - format - - - - which - 0 - - - decimation - 200 - - - frequency - tun_freq - - - gain - 20 - - - side - rx_side - - - rx_ant - rx_ant - - - hb_filters - - - - _coordinate - (479, 224) - - - _rotation - 0 - - - - parameter - - id - rx_ant - - - _enabled - True - - - label - - - - value - RXA - - - type - string - - - _coordinate - (802, 384) - - - _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 - - - ref_level - 100 - - - fft_size - 512*2 - - - fft_rate - 15 - - - peak_hold - False - - - average - False - - - avg_alpha - 0 - - - grid_pos - 1, 2, 2, 4 - - - _coordinate - (746, 133) - - - _rotation - 0 - - - - parameter - - id - rx_side - - - _enabled - True - - - label - - - - value - A - - - type - string - - - _coordinate - (568, 382) - - - _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 - (276, 312) - - - _rotation - 0 - - - - variable_slider - - id - noise_ampl - - - _enabled - True - - - label - Noise Ampl - - - value - 2000 - - - min - 0 - - - max - 5000 - - - num_steps - 100 - - - style - wx.SL_VERTICAL - - - converver - float_converter - - - grid_pos - 1, 1, 2, 1 - - - _coordinate - (20, 243) - - - _rotation - 0 - - - - variable_slider - - id - tone_ampl - - - _enabled - True - - - label - Tone Ampl - - - value - 5000 - - - min - 0 - - - max - 10e3 - - - num_steps - 100 - - - style - wx.SL_VERTICAL - - - converver - float_converter - - - grid_pos - 1, 0, 2, 1 - - - _coordinate - (28, 437) - - - _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 - - - _coordinate - (190, 436) - - - _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 - - - _coordinate - (367, 439) - - - _rotation - 0 - - - - options - - id - usrp_two_tone_loopback - - - _enabled - True - - - title - USRP Loopback - 2 Tone - - - author - Example - - - description - Loopback test with basic rx and basic tx - - - window_size - 1280, 1024 - - - generate_options - wx_gui - - - category - Custom - - - realtime_scheduling - - - - _coordinate - (10, 10) - - - _rotation - 0 - - - - gr_sig_source_x - gr_add_xx - 0 - 0 - - - gr_sig_source_x0 - gr_add_xx - 0 - 1 - - - gr_noise_source_x - gr_add_xx - 0 - 2 - - - usrp_simple_source_x - wxgui_fftsink2 - 0 - 0 - - - gr_add_xx - usrp_simple_sink_x - 0 - 0 - - diff --git a/grc/examples/usrp/usrp_wbfm_receive.grc b/grc/examples/usrp/usrp_wbfm_receive.grc deleted file mode 100644 index 8f53475ab..000000000 --- a/grc/examples/usrp/usrp_wbfm_receive.grc +++ /dev/null @@ -1,466 +0,0 @@ - - - Fri Apr 17 19:06:07 2009 - - options - - id - usrp_wbfm_receive - - - _enabled - True - - - title - USRP WBFM Receive - - - author - Example - - - description - WBFM Receive with Basic RX or TV RX - - - window_size - 1280, 1024 - - - generate_options - wx_gui - - - category - Custom - - - realtime_scheduling - - - - _coordinate - (10, 10) - - - _rotation - 0 - - - - variable - - id - decim - - - _enabled - True - - - value - 200 - - - _coordinate - (14, 173) - - - _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 - - - _coordinate - (991, 40) - - - _rotation - 0 - - - - usrp_simple_source_x - - id - usrp_simple_source_x - - - _enabled - True - - - type - complex - - - format - - - - which - 0 - - - decimation - decim - - - frequency - (freq+fine)*1e6 - - - gain - 20 - - - side - A - - - rx_ant - None - - - hb_filters - - - - _coordinate - (277, 29) - - - _rotation - 0 - - - - wxgui_fftsink2 - - id - wxgui_fftsink2 - - - _enabled - True - - - type - complex - - - title - FFT Plot - - - samp_rate - 64e6/decim - - - baseband_freq - (freq+fine)*1e6 - - - y_per_div - 10 - - - ref_level - 50 - - - fft_size - 512 - - - fft_rate - 15 - - - peak_hold - False - - - average - False - - - avg_alpha - 0 - - - grid_pos - 2, 0, 2, 4 - - - _coordinate - (512, 191) - - - _rotation - 0 - - - - variable_slider - - id - freq - - - _enabled - True - - - label - Frequency (MHz) - - - value - 100 - - - min - 87.5 - - - max - 108.0 - - - num_steps - 1000 - - - style - wx.SL_HORIZONTAL - - - converver - float_converter - - - grid_pos - 0, 0, 1, 2 - - - _coordinate - (104, 243) - - - _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 - - - _coordinate - (275, 246) - - - _rotation - 0 - - - - blks2_wfm_rcv - - id - blks2_wfm_rcv - - - _enabled - True - - - quad_rate - 64e6/decim - - - audio_decimation - 10 - - - _coordinate - (510, 37) - - - _rotation - 0 - - - - gr_multiply_const_vxx - - id - gr_multiply_const_vxx - - - _enabled - True - - - type - float - - - const - volume - - - vlen - 1 - - - _coordinate - (764, 55) - - - _rotation - 0 - - - - audio_sink - - id - audio_sink - - - _enabled - True - - - samp_rate - 32000 - - - device_name - - - - ok_to_block - True - - - num_inputs - 1 - - - _coordinate - (703, 241) - - - _rotation - 180 - - - - usrp_simple_source_x - blks2_wfm_rcv - 0 - 0 - - - usrp_simple_source_x - wxgui_fftsink2 - 0 - 0 - - - blks2_wfm_rcv - gr_multiply_const_vxx - 0 - 0 - - - gr_multiply_const_vxx - audio_sink - 0 - 0 - - -- cgit