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/simple/.gitignore | 2 -
grc/examples/simple/ber_simulation.grc | 564 --------------------------------
grc/examples/simple/dpsk_loopback.grc | 450 -------------------------
grc/examples/simple/var_sink_taps.grc | 488 ---------------------------
grc/examples/simple/variable_config.grc | 329 -------------------
5 files changed, 1833 deletions(-)
delete mode 100644 grc/examples/simple/.gitignore
delete mode 100644 grc/examples/simple/ber_simulation.grc
delete mode 100644 grc/examples/simple/dpsk_loopback.grc
delete mode 100644 grc/examples/simple/var_sink_taps.grc
delete mode 100644 grc/examples/simple/variable_config.grc
(limited to 'grc/examples/simple')
diff --git a/grc/examples/simple/.gitignore b/grc/examples/simple/.gitignore
deleted file mode 100644
index b336cc7ce..000000000
--- a/grc/examples/simple/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/Makefile
-/Makefile.in
diff --git a/grc/examples/simple/ber_simulation.grc b/grc/examples/simple/ber_simulation.grc
deleted file mode 100644
index 618add29c..000000000
--- a/grc/examples/simple/ber_simulation.grc
+++ /dev/null
@@ -1,564 +0,0 @@
-
-
- Thu Mar 19 11:08:59 2009
-
- options
-
- id
- ber_sim
-
-
- _enabled
- True
-
-
- title
- BER Simulation
-
-
- author
- Example
-
-
- description
- Adjust the noise and constellation... see what happens!
-
-
- window_size
- 1280, 1024
-
-
- generate_options
- wx_gui
-
-
- category
- Custom
-
-
- realtime_scheduling
-
-
-
- _coordinate
- (16, 10)
-
-
- _rotation
- 0
-
-
-
- gr_noise_source_x
-
- id
- gr_noise_source_x
-
-
- _enabled
- True
-
-
- type
- complex
-
-
- noise_type
- gr.GR_GAUSSIAN
-
-
- amp
- noise
-
-
- seed
- 42
-
-
- _coordinate
- (235, 379)
-
-
- _rotation
- 0
-
-
-
- gr_chunks_to_symbols_xx
-
- id
- gr_chunks_to_symbols_xx
-
-
- _enabled
- True
-
-
- in_type
- byte
-
-
- out_type
- complex
-
-
- symbol_table
- const
-
-
- dimension
- 1
-
-
- _coordinate
- (360, 237)
-
-
- _rotation
- 0
-
-
-
- wxgui_numbersink2
-
- id
- wxgui_numbersink2
-
-
- _enabled
- True
-
-
- type
- float
-
-
- title
- BER
-
-
- units
- %
-
-
- samp_rate
- samp_rate
-
-
- base_value
- 0.0
-
-
- min_value
- 0.0
-
-
- max_value
- 1.0
-
-
- factor
- 100
-
-
- decimal_places
- 4
-
-
- ref_level
- 0
-
-
- number_rate
- 15
-
-
- peak_hold
- False
-
-
- average
- False
-
-
- avg_alpha
- 0
-
-
- show_gauge
- False
-
-
- grid_pos
- 1, 0, 1, 1
-
-
- _coordinate
- (1062, 11)
-
-
- _rotation
- 0
-
-
-
- gr_throttle
-
- id
- gr_throttle
-
-
- _enabled
- True
-
-
- type
- byte
-
-
- samples_per_second
- samp_rate
-
-
- vlen
- 1
-
-
- _coordinate
- (397, 27)
-
-
- _rotation
- 0
-
-
-
- blks2_error_rate
-
- id
- blks2_error_rate
-
-
- _enabled
- True
-
-
- type
- 'BER'
-
-
- win_size
- 1000000
-
-
- bits_per_symbol
- int(math.log(len(const))/math.log(2))
-
-
- _coordinate
- (670, 41)
-
-
- _rotation
- 0
-
-
-
- gr_constellation_decoder_cb
-
- id
- gr_constellation_decoder_cb
-
-
- _enabled
- True
-
-
- sym_position
- const
-
-
- sym_value_out
- range(len(const))
-
-
- _coordinate
- (708, 224)
-
-
- _rotation
- 0
-
-
-
- random_source_x
-
- id
- random_source_x
-
-
- _enabled
- True
-
-
- type
- byte
-
-
- min
- 0
-
-
- max
- len(const)
-
-
- num_samps
- 1000000
-
-
- repeat
- False
-
-
- _coordinate
- (15, 244)
-
-
- _rotation
- 0
-
-
-
- variable
-
- id
- noise
-
-
- _enabled
- True
-
-
- value
- .25
-
-
- _coordinate
- (18, 386)
-
-
- _rotation
- 0
-
-
-
- variable
-
- id
- const
-
-
- _enabled
- True
-
-
- value
- 1+1j, 1-1j, -1-1j, -1+1j
-
-
- _coordinate
- (16, 461)
-
-
- _rotation
- 0
-
-
-
- variable
-
- id
- samp_rate
-
-
- _enabled
- True
-
-
- value
- 50e3
-
-
- _coordinate
- (20, 168)
-
-
- _rotation
- 0
-
-
-
- import
-
- id
- import
-
-
- _enabled
- True
-
-
- import
- import math
-
-
- _coordinate
- (138, 168)
-
-
- _rotation
- 0
-
-
-
- gr_add_xx
-
- id
- gr_add_xx
-
-
- _enabled
- True
-
-
- type
- complex
-
-
- num_inputs
- 2
-
-
- vlen
- 1
-
-
- _coordinate
- (652, 395)
-
-
- _rotation
- 0
-
-
-
- wxgui_scopesink2
-
- id
- wxgui_scopesink2_0
-
-
- _enabled
- True
-
-
- type
- complex
-
-
- title
- "Constellation: "+str(const)
-
-
- samp_rate
- samp_rate
-
-
- v_scale
- 0
-
-
- t_scale
- 0
-
-
- ac_couple
- False
-
-
- xy_mode
- True
-
-
- num_inputs
- 1
-
-
- grid_pos
- 2, 0, 1, 1
-
-
- _coordinate
- (828, 368)
-
-
- _rotation
- 0
-
-
-
- blks2_error_rate
- wxgui_numbersink2
- 0
- 0
-
-
- gr_throttle
- blks2_error_rate
- 0
- 0
-
-
- gr_constellation_decoder_cb
- blks2_error_rate
- 0
- 1
-
-
- gr_add_xx
- gr_constellation_decoder_cb
- 0
- 0
-
-
- gr_chunks_to_symbols_xx
- gr_add_xx
- 0
- 0
-
-
- gr_noise_source_x
- gr_add_xx
- 0
- 1
-
-
- random_source_x
- gr_throttle
- 0
- 0
-
-
- random_source_x
- gr_chunks_to_symbols_xx
- 0
- 0
-
-
- gr_add_xx
- wxgui_scopesink2_0
- 0
- 0
-
-
diff --git a/grc/examples/simple/dpsk_loopback.grc b/grc/examples/simple/dpsk_loopback.grc
deleted file mode 100644
index 6a507c98d..000000000
--- a/grc/examples/simple/dpsk_loopback.grc
+++ /dev/null
@@ -1,450 +0,0 @@
-
-
- Tue Mar 17 12:53:37 2009
-
- options
-
- id
- dpsk_loopback
-
-
- _enabled
- True
-
-
- title
- DPSK Loopback
-
-
- author
- Example
-
-
- description
- gnuradio flow graph
-
-
- window_size
- 1280, 1024
-
-
- generate_options
- wx_gui
-
-
- category
- Custom
-
-
- realtime_scheduling
-
-
-
- _coordinate
- (10, 10)
-
-
- _rotation
- 0
-
-
-
- blks2_dxpsk_mod
-
- id
- blks2_dxpsk_mod_0
-
-
- _enabled
- True
-
-
- type
- dbpsk
-
-
- samples_per_symbol
- 2
-
-
- excess_bw
- 0.35
-
-
- gray_code
- True
-
-
- _coordinate
- (426, 295)
-
-
- _rotation
- 0
-
-
-
- variable
-
- id
- samp_rate
-
-
- _enabled
- True
-
-
- value
- 10000
-
-
- _coordinate
- (10, 170)
-
-
- _rotation
- 0
-
-
-
- variable_slider
-
- id
- freq
-
-
- _enabled
- True
-
-
- label
- Frequency (Hz)
-
-
- value
- 500
-
-
- min
- 0
-
-
- max
- samp_rate/2
-
-
- num_steps
- 100
-
-
- slider_length
- 200
-
-
- slider_type
- horizontal
-
-
- grid_pos
-
-
-
- _coordinate
- (12, 257)
-
-
- _rotation
- 0
-
-
-
- blks2_packet_encoder
-
- id
- blks2_packet_encoder_0
-
-
- _enabled
- True
-
-
- type
- float
-
-
- samples_per_symbol
- 2
-
-
- bits_per_symbol
- 1
-
-
- access_code
-
-
-
- pad_for_usrp
- True
-
-
- payload_length
- 0
-
-
- _coordinate
- (216, 260)
-
-
- _rotation
- 0
-
-
-
- gr_throttle
-
- id
- gr_throttle_0_0
-
-
- _enabled
- True
-
-
- type
- float
-
-
- samples_per_second
- samp_rate
-
-
- vlen
- 1
-
-
- _coordinate
- (225, 174)
-
-
- _rotation
- 0
-
-
-
- gr_sig_source_x
-
- id
- gr_sig_source_x_0
-
-
- _enabled
- True
-
-
- type
- float
-
-
- samp_rate
- samp_rate
-
-
- waveform
- gr.GR_COS_WAVE
-
-
- freq
- freq
-
-
- amp
- 1
-
-
- offset
- 0
-
-
- _coordinate
- (203, 8)
-
-
- _rotation
- 0
-
-
-
- blks2_packet_decoder
-
- id
- blks2_packet_decoder_0
-
-
- _enabled
- True
-
-
- type
- float
-
-
- access_code
-
-
-
- threshold
- -1
-
-
- _coordinate
- (551, 65)
-
-
- _rotation
- 0
-
-
-
- wxgui_scopesink2
-
- id
- wxgui_scopesink2_0
-
-
- _enabled
- True
-
-
- type
- float
-
-
- title
- Scope Plot
-
-
- samp_rate
- samp_rate
-
-
- frame_decim
- 15
-
-
- v_scale
- 0
-
-
- t_scale
- 1./freq
-
-
- marker
- set_format_line
-
-
- num_inputs
- 1
-
-
- grid_pos
-
-
-
- _coordinate
- (769, 12)
-
-
- _rotation
- 0
-
-
-
- blks2_dxpsk_demod
-
- id
- blks2_dxpsk_demod_0
-
-
- _enabled
- True
-
-
- type
- dbpsk
-
-
- samples_per_symbol
- 2
-
-
- excess_bw
- 0.35
-
-
- costas_alpha
- 0.175
-
-
- gain_mu
- 0.175
-
-
- mu
- 0.5
-
-
- omega_relative_limit
- 0.005
-
-
- gray_code
- True
-
-
- _coordinate
- (691, 219)
-
-
- _rotation
- 0
-
-
-
- blks2_dxpsk_mod_0
- blks2_dxpsk_demod_0
- 0
- 0
-
-
- blks2_dxpsk_demod_0
- blks2_packet_decoder_0
- 0
- 0
-
-
- blks2_packet_encoder_0
- blks2_dxpsk_mod_0
- 0
- 0
-
-
- gr_sig_source_x_0
- gr_throttle_0_0
- 0
- 0
-
-
- gr_throttle_0_0
- blks2_packet_encoder_0
- 0
- 0
-
-
- blks2_packet_decoder_0
- wxgui_scopesink2_0
- 0
- 0
-
-
diff --git a/grc/examples/simple/var_sink_taps.grc b/grc/examples/simple/var_sink_taps.grc
deleted file mode 100644
index 07207850e..000000000
--- a/grc/examples/simple/var_sink_taps.grc
+++ /dev/null
@@ -1,488 +0,0 @@
-
-
- Tue May 19 16:45:51 2009
-
- options
-
- id
- var_sink_taps
-
-
- _enabled
- True
-
-
- title
- Variable Sink + Taps
-
-
- author
- Example
-
-
- description
- gnuradio flow graph
-
-
- window_size
- 1280, 1024
-
-
- generate_options
- wx_gui
-
-
- category
- Custom
-
-
- realtime_scheduling
-
-
-
- _coordinate
- (10, 10)
-
-
- _rotation
- 0
-
-
-
- gr_noise_source_x
-
- id
- gr_noise_source_x_0
-
-
- _enabled
- True
-
-
- type
- complex
-
-
- noise_type
- gr.GR_GAUSSIAN
-
-
- amp
- 1
-
-
- seed
- 42
-
-
- _coordinate
- (619, 36)
-
-
- _rotation
- 0
-
-
-
- gr_fir_filter_xxx
-
- id
- gr_fir_filter_xxx_0
-
-
- _enabled
- True
-
-
- type
- ccc
-
-
- decim
- 1
-
-
- taps
- dest_taps
-
-
- _coordinate
- (831, 47)
-
-
- _rotation
- 0
-
-
-
- gr_throttle
-
- id
- gr_throttle_0
-
-
- _enabled
- True
-
-
- type
- complex
-
-
- samples_per_second
- samp_rate
-
-
- vlen
- 1
-
-
- _coordinate
- (999, 198)
-
-
- _rotation
- 270
-
-
-
- wxgui_fftsink2
-
- id
- wxgui_fftsink2_0
-
-
- _enabled
- True
-
-
- type
- complex
-
-
- title
- FFT Plot
-
-
- samp_rate
- samp_rate
-
-
- baseband_freq
- 0
-
-
- y_per_div
- 10
-
-
- y_divs
- 10
-
-
- ref_level
- 50
-
-
- fft_size
- 1024
-
-
- fft_rate
- 30
-
-
- peak_hold
- False
-
-
- average
- False
-
-
- avg_alpha
- 0
-
-
- grid_pos
-
-
-
- _coordinate
- (629, 184)
-
-
- _rotation
- 180
-
-
-
- import
-
- id
- import_0
-
-
- _enabled
- True
-
-
- import
- from gnuradio.gr import firdes
-
-
- _coordinate
- (330, 120)
-
-
- _rotation
- 0
-
-
-
- variable
-
- id
- dest_taps
-
-
- _enabled
- True
-
-
- value
- [0]
-
-
- _coordinate
- (836, 223)
-
-
- _rotation
- 0
-
-
-
- variable
-
- id
- samp_rate
-
-
- _enabled
- True
-
-
- value
- 32000
-
-
- _coordinate
- (831, 130)
-
-
- _rotation
- 0
-
-
-
- variable
-
- id
- source_taps
-
-
- _enabled
- True
-
-
- value
- firdes.low_pass(1, samp_rate, 4000, 2000)
-
-
- _coordinate
- (397, 191)
-
-
- _rotation
- 0
-
-
-
- variable
-
- id
- taps_rate
-
-
- _enabled
- True
-
-
- value
- 10
-
-
- _coordinate
- (268, 189)
-
-
- _rotation
- 0
-
-
-
- gr_vector_source_x
-
- id
- gr_vector_source_x_0
-
-
- _enabled
- True
-
-
- type
- complex
-
-
- vector
- source_taps
-
-
- repeat
- True
-
-
- vlen
- len(source_taps)
-
-
- _coordinate
- (205, 33)
-
-
- _rotation
- 0
-
-
-
- note
-
- id
- note_0
-
-
- _enabled
- True
-
-
- note
- Pass the FIR taps via a variable sink.
-
-
- _coordinate
- (14, 141)
-
-
- _rotation
- 0
-
-
-
- gr_throttle
-
- id
- gr_throttle
-
-
- _enabled
- True
-
-
- type
- complex
-
-
- samples_per_second
- taps_rate
-
-
- vlen
- len(source_taps)
-
-
- _coordinate
- (440, 41)
-
-
- _rotation
- 0
-
-
-
- blks2_variable_sink_x
-
- id
- blks2_variable_sink_x_0
-
-
- _enabled
- True
-
-
- type
- complex
-
-
- variable
- dest_taps
-
-
- decim
- 1
-
-
- vlen
- len(source_taps)
-
-
- _coordinate
- (305, 283)
-
-
- _rotation
- 180
-
-
-
- gr_noise_source_x_0
- gr_fir_filter_xxx_0
- 0
- 0
-
-
- gr_fir_filter_xxx_0
- gr_throttle_0
- 0
- 0
-
-
- gr_throttle_0
- wxgui_fftsink2_0
- 0
- 0
-
-
- gr_vector_source_x_0
- gr_throttle
- 0
- 0
-
-
- gr_throttle
- blks2_variable_sink_x_0
- 0
- 0
-
-
diff --git a/grc/examples/simple/variable_config.grc b/grc/examples/simple/variable_config.grc
deleted file mode 100644
index 95c287cce..000000000
--- a/grc/examples/simple/variable_config.grc
+++ /dev/null
@@ -1,329 +0,0 @@
-
-
- Thu Jun 25 10:56:04 2009
-
- options
-
- id
- variable_config_demo
-
-
- _enabled
- True
-
-
- title
- Variable Config Block Demonstration
-
-
- author
- Example
-
-
- description
- Save/Load freq from a config file.
-
-
- window_size
- 1280, 1024
-
-
- generate_options
- wx_gui
-
-
- category
- Custom
-
-
- autostart
- True
-
-
- realtime_scheduling
-
-
-
- _coordinate
- (10, 10)
-
-
- _rotation
- 0
-
-
-
- variable
-
- id
- samp_rate
-
-
- _enabled
- True
-
-
- value
- 32000
-
-
- _coordinate
- (10, 170)
-
-
- _rotation
- 0
-
-
-
- variable_config
-
- id
- freq_init
-
-
- _enabled
- True
-
-
- value
- 1000
-
-
- type
- real
-
-
- config_file
- config.conf
-
-
- section
- main
-
-
- option
- freq
-
-
- writeback
- freq
-
-
- _coordinate
- (255, 17)
-
-
- _rotation
- 0
-
-
-
- variable_slider
-
- id
- freq
-
-
- _enabled
- True
-
-
- label
- Frequency (Hz)
-
-
- value
- freq_init
-
-
- min
- -samp_rate/2
-
-
- max
- samp_rate/2
-
-
- num_steps
- 100
-
-
- style
- wx.SL_HORIZONTAL
-
-
- converver
- float_converter
-
-
- grid_pos
-
-
-
- _coordinate
- (429, 24)
-
-
- _rotation
- 0
-
-
-
- gr_throttle
-
- id
- gr_throttle_0
-
-
- _enabled
- True
-
-
- type
- complex
-
-
- samples_per_second
- samp_rate
-
-
- vlen
- 1
-
-
- _coordinate
- (392, 233)
-
-
- _rotation
- 0
-
-
-
- gr_sig_source_x
-
- id
- gr_sig_source_x_0
-
-
- _enabled
- True
-
-
- type
- complex
-
-
- samp_rate
- samp_rate
-
-
- waveform
- gr.GR_COS_WAVE
-
-
- freq
- freq
-
-
- amp
- 1
-
-
- offset
- 0
-
-
- _coordinate
- (148, 233)
-
-
- _rotation
- 0
-
-
-
- wxgui_fftsink2
-
- id
- wxgui_fftsink2_0
-
-
- _enabled
- True
-
-
- type
- complex
-
-
- title
- FFT Plot
-
-
- samp_rate
- samp_rate
-
-
- baseband_freq
- 0
-
-
- y_per_div
- 10
-
-
- y_divs
- 10
-
-
- ref_level
- 50
-
-
- fft_size
- 1024
-
-
- fft_rate
- 30
-
-
- peak_hold
- False
-
-
- average
- False
-
-
- avg_alpha
- 0
-
-
- grid_pos
-
-
-
- _coordinate
- (671, 233)
-
-
- _rotation
- 0
-
-
-
- gr_sig_source_x_0
- gr_throttle_0
- 0
- 0
-
-
- gr_throttle_0
- wxgui_fftsink2_0
- 0
- 0
-
-
--
cgit