From 8748ee2b56c9cd9d2d316fd0a9e7b01a0910446f Mon Sep 17 00:00:00 2001 From: Dimitri Stolnikov Date: Tue, 15 May 2012 18:35:50 +0200 Subject: [PATCH] update GRC examples --- ...sdr_source.grc => osmosdr_source_1rtl.grc} | 434 ++++++++++-------- ...urce_multi.grc => osmosdr_source_2rtl.grc} | 361 +++++++-------- 2 files changed, 406 insertions(+), 389 deletions(-) rename apps/{osmosdr_source.grc => osmosdr_source_1rtl.grc} (87%) rename apps/{osmosdr_source_multi.grc => osmosdr_source_2rtl.grc} (91%) diff --git a/apps/osmosdr_source.grc b/apps/osmosdr_source_1rtl.grc similarity index 87% rename from apps/osmosdr_source.grc rename to apps/osmosdr_source_1rtl.grc index 03e439a..2333b24 100644 --- a/apps/osmosdr_source.grc +++ b/apps/osmosdr_source_1rtl.grc @@ -1,6 +1,6 @@ - Sat May 5 21:04:19 2012 + Tue May 15 18:29:06 2012 options @@ -60,121 +60,11 @@ 0 - - variable - - id - samp_rate - - - _enabled - True - - - value - samplerate - - - _coordinate - (54, 141) - - - _rotation - 0 - - - - wxgui_fftsink2 - - id - wxgui_fftsink2_0 - - - _enabled - True - - - type - complex - - - title - FFT Plot - - - samp_rate - samp_rate - - - baseband_freq - freq - - - y_per_div - 10 - - - y_divs - 10 - - - ref_level - 0 - - - ref_scale - 2.0 - - - fft_size - 1024 - - - fft_rate - 15 - - - peak_hold - False - - - average - False - - - avg_alpha - 0 - - - win - None - - - win_size - - - - grid_pos - - - - notebook - - - - _coordinate - (724, 129) - - - _rotation - 0 - - variable_slider id - freq + corr_ppm _enabled @@ -186,19 +76,19 @@ value - 394.4e6 + 0 min - 50e6 + -100 max - 2.2e9 + 100 num_steps - 1000 + 201 style @@ -218,7 +108,117 @@ _coordinate - (268, 65) + (418, 68) + + + _rotation + 0 + + + + variable_slider + + id + gain_slider + + + _enabled + True + + + label + + + + value + 10 + + + min + -1 + + + max + 50 + + + num_steps + 52 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (570, 68) + + + _rotation + 0 + + + + variable_slider + + id + samp_rate + + + _enabled + True + + + label + + + + value + 2048e3 + + + min + 1e6 + + + max + 3.2e6 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (30, 111) _rotation @@ -297,7 +297,7 @@ _coordinate - (724, 320) + (517, 399) _rotation @@ -305,93 +305,74 @@ - variable_slider + wxgui_fftsink2 id - samplerate + wxgui_fftsink2_0 _enabled True - - label - - - - value - 2048e3 - - - min - 1e6 - - - max - 3.2e6 - - - num_steps - 100 - - - style - wx.SL_HORIZONTAL - - - converver - float_converter - - - grid_pos - - - - notebook - - - - _coordinate - (38, 280) - - - _rotation - 0 - - - - variable_chooser - - id - gain_chooser - - - _enabled - True - - - label - - - - value - 9.0 - - - choices - [-1.0, 1.5, 4.0, 6.5, 9.0, 11.5, 14.0, 16.5, 19.0, 21.5, 24.0, 29.0, 34.0, 42.0, 43.0, 45.0, 47.0, 49.0] - - - labels - [] - type - drop_down + complex - style - wx.RA_HORIZONTAL + 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 + 1024 + + + fft_rate + 15 + + + peak_hold + False + + + average + False + + + avg_alpha + 0 + + + win + None + + + win_size + grid_pos @@ -403,7 +384,7 @@ _coordinate - (461, 63) + (517, 208) _rotation @@ -442,11 +423,11 @@ corr0 - 0 + corr_ppm gain0 - gain_chooser + gain_slider gain_mode0 @@ -466,7 +447,7 @@ gain1 - gain_chooser + gain_slider gain_mode1 @@ -538,7 +519,62 @@ _coordinate - (277, 277) + (76, 324) + + + _rotation + 0 + + + + variable_slider + + id + freq + + + _enabled + True + + + label + + + + value + 394e6 + + + min + 50e6 + + + max + 2.2e9 + + + num_steps + 1000 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (229, 67) _rotation diff --git a/apps/osmosdr_source_multi.grc b/apps/osmosdr_source_2rtl.grc similarity index 91% rename from apps/osmosdr_source_multi.grc rename to apps/osmosdr_source_2rtl.grc index 7270485..f6cc423 100644 --- a/apps/osmosdr_source_multi.grc +++ b/apps/osmosdr_source_2rtl.grc @@ -1,6 +1,6 @@ - Sat May 5 21:02:25 2012 + Tue May 15 18:30:25 2012 options @@ -60,29 +60,6 @@ 0 - - variable - - id - samp_rate - - - _enabled - True - - - value - samplerate - - - _coordinate - (54, 141) - - - _rotation - 0 - - variable_slider @@ -138,148 +115,6 @@ 0 - - variable_slider - - id - samplerate - - - _enabled - True - - - label - - - - value - 2048e3 - - - min - 1e6 - - - max - 3.2e6 - - - num_steps - 100 - - - style - wx.SL_HORIZONTAL - - - converver - float_converter - - - grid_pos - - - - notebook - - - - _coordinate - (38, 280) - - - _rotation - 0 - - - - wxgui_fftsink2 - - id - wxgui_fftsink2_0 - - - _enabled - True - - - type - complex - - - title - FFT Plot - - - samp_rate - samp_rate - - - baseband_freq - freq - - - y_per_div - 10 - - - y_divs - 10 - - - ref_level - 0 - - - ref_scale - 2.0 - - - fft_size - 1024 - - - fft_rate - 15 - - - peak_hold - False - - - average - False - - - avg_alpha - 0 - - - win - None - - - win_size - - - - grid_pos - - - - notebook - - - - _coordinate - (717, 114) - - - _rotation - 0 - - wxgui_fftsink2 @@ -368,38 +203,74 @@ - variable_chooser + wxgui_fftsink2 id - gain_chooser + wxgui_fftsink2_0 _enabled True - - label - - - - value - 9.0 - - - choices - [-1.0, 1.5, 4.0, 6.5, 9.0, 11.5, 14.0, 16.5, 19.0, 21.5, 24.0, 29.0, 34.0, 42.0, 43.0, 45.0, 47.0, 49.0] - - - labels - [] - type - drop_down + complex - style - wx.RA_HORIZONTAL + title + FFT Plot + + + samp_rate + samp_rate + + + baseband_freq + freq + + + y_per_div + 10 + + + y_divs + 10 + + + ref_level + 0 + + + ref_scale + 2.0 + + + fft_size + 1024 + + + fft_rate + 15 + + + peak_hold + False + + + average + False + + + avg_alpha + 0 + + + win + None + + + win_size + grid_pos @@ -411,7 +282,117 @@ _coordinate - (460, 64) + (717, 114) + + + _rotation + 0 + + + + variable_slider + + id + samp_rate + + + _enabled + True + + + label + + + + value + 2048e3 + + + min + 1e6 + + + max + 3.2e6 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (55, 110) + + + _rotation + 0 + + + + variable_slider + + id + gain_slider + + + _enabled + True + + + label + + + + value + 10 + + + min + -1 + + + max + 50 + + + num_steps + 52 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (457, 62) _rotation @@ -454,7 +435,7 @@ gain0 - gain_chooser + gain_slider gain_mode0 @@ -474,7 +455,7 @@ gain1 - gain_chooser + gain_slider gain_mode1