summaryrefslogtreecommitdiff
path: root/gnuradio-examples/grc
diff options
context:
space:
mode:
authorMatt Ettus2009-12-03 08:27:05 -0800
committerJosh Blum2009-12-03 16:32:09 -0500
commita903212f60d9bc4f3a5b34ae47fe54cdb2db0ce0 (patch)
tree6a9234ce40bdc2aa60f9e1ab1f7894e95dfe71bd /gnuradio-examples/grc
parent5a8e6229298d89ccf527a4d8894e0c654dea39d9 (diff)
downloadgnuradio-a903212f60d9bc4f3a5b34ae47fe54cdb2db0ce0.tar.gz
gnuradio-a903212f60d9bc4f3a5b34ae47fe54cdb2db0ce0.tar.bz2
gnuradio-a903212f60d9bc4f3a5b34ae47fe54cdb2db0ce0.zip
added a gain slider
Diffstat (limited to 'gnuradio-examples/grc')
-rw-r--r--gnuradio-examples/grc/usrp/usrp_rx_dpsk.grc416
1 files changed, 254 insertions, 162 deletions
diff --git a/gnuradio-examples/grc/usrp/usrp_rx_dpsk.grc b/gnuradio-examples/grc/usrp/usrp_rx_dpsk.grc
index 9b869687a..9843ee6b0 100644
--- a/gnuradio-examples/grc/usrp/usrp_rx_dpsk.grc
+++ b/gnuradio-examples/grc/usrp/usrp_rx_dpsk.grc
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
- <timestamp>Wed Nov 25 20:45:31 2009</timestamp>
+ <timestamp>Wed Dec 2 11:03:20 2009</timestamp>
<block>
<key>options</key>
<param>
@@ -106,7 +106,7 @@
<key>variable</key>
<param>
<key>id</key>
- <value>samp_rate</value>
+ <value>p2p</value>
</param>
<param>
<key>_enabled</key>
@@ -114,11 +114,11 @@
</param>
<param>
<key>value</key>
- <value>1e6</value>
+ <value>2.0</value>
</param>
<param>
<key>_coordinate</key>
- <value>(20, 234)</value>
+ <value>(13, 314)</value>
</param>
<param>
<key>_rotation</key>
@@ -126,46 +126,54 @@
</param>
</block>
<block>
- <key>usrp2_source_xxxx</key>
+ <key>variable_slider</key>
<param>
<key>id</key>
- <value>usrp2_source_xxxx_0</value>
+ <value>timing_alpha</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
- <key>type</key>
- <value>complex</value>
+ <key>label</key>
+ <value>Timing Alpha</value>
</param>
<param>
- <key>interface</key>
- <value></value>
+ <key>value</key>
+ <value>.1</value>
</param>
<param>
- <key>mac_addr</key>
- <value></value>
+ <key>min</key>
+ <value>0</value>
</param>
<param>
- <key>decimation</key>
- <value>int(100e6/samp_rate)</value>
+ <key>max</key>
+ <value>.5</value>
</param>
<param>
- <key>frequency</key>
- <value>bb_freq</value>
+ <key>num_steps</key>
+ <value>100</value>
</param>
<param>
- <key>lo_offset</key>
- <value>float('inf')</value>
+ <key>style</key>
+ <value>wx.SL_HORIZONTAL</value>
</param>
<param>
- <key>gain</key>
- <value>0</value>
+ <key>converver</key>
+ <value>float_converter</value>
+ </param>
+ <param>
+ <key>grid_pos</key>
+ <value></value>
+ </param>
+ <param>
+ <key>notebook</key>
+ <value></value>
</param>
<param>
<key>_coordinate</key>
- <value>(158, 51)</value>
+ <value>(759, 365)</value>
</param>
<param>
<key>_rotation</key>
@@ -173,10 +181,10 @@
</param>
</block>
<block>
- <key>blks2_dxpsk2_demod</key>
+ <key>gr_null_sink</key>
<param>
<key>id</key>
- <value>blks2_dxpsk2_demod_0</value>
+ <value>gr_null_sink_0</value>
</param>
<param>
<key>_enabled</key>
@@ -184,74 +192,70 @@
</param>
<param>
<key>type</key>
- <value>dqpsk</value>
- </param>
- <param>
- <key>samples_per_symbol</key>
- <value>samps_per_sym</value>
+ <value>byte</value>
</param>
<param>
- <key>excess_bw</key>
- <value>0.35</value>
+ <key>vlen</key>
+ <value>1</value>
</param>
<param>
- <key>costas_alpha</key>
- <value>costas_alpha</value>
+ <key>_coordinate</key>
+ <value>(815, 80)</value>
</param>
<param>
- <key>timing_alpha</key>
- <value>timing_alpha</value>
+ <key>_rotation</key>
+ <value>0</value>
</param>
+ </block>
+ <block>
+ <key>variable_slider</key>
<param>
- <key>timing_max_dev</key>
- <value>1.5</value>
+ <key>id</key>
+ <value>costas_alpha</value>
</param>
<param>
- <key>omega_relative_limit</key>
- <value>0.005</value>
+ <key>_enabled</key>
+ <value>True</value>
</param>
<param>
- <key>gray_code</key>
- <value>True</value>
+ <key>label</key>
+ <value>Costas Alpha</value>
</param>
<param>
- <key>verbose</key>
- <value>False</value>
+ <key>value</key>
+ <value>0.175</value>
</param>
<param>
- <key>log</key>
- <value>False</value>
+ <key>min</key>
+ <value>0</value>
</param>
<param>
- <key>sync_out</key>
- <value>True</value>
+ <key>max</key>
+ <value>.5</value>
</param>
<param>
- <key>_coordinate</key>
- <value>(488, 65)</value>
+ <key>num_steps</key>
+ <value>100</value>
</param>
<param>
- <key>_rotation</key>
- <value>0</value>
+ <key>style</key>
+ <value>wx.SL_HORIZONTAL</value>
</param>
- </block>
- <block>
- <key>variable</key>
<param>
- <key>id</key>
- <value>p2p</value>
+ <key>converver</key>
+ <value>float_converter</value>
</param>
<param>
- <key>_enabled</key>
- <value>True</value>
+ <key>grid_pos</key>
+ <value></value>
</param>
<param>
- <key>value</key>
- <value>2.0</value>
+ <key>notebook</key>
+ <value></value>
</param>
<param>
<key>_coordinate</key>
- <value>(13, 314)</value>
+ <value>(598, 367)</value>
</param>
<param>
<key>_rotation</key>
@@ -259,10 +263,10 @@
</param>
</block>
<block>
- <key>wxgui_scopesink2</key>
+ <key>wxgui_fftsink2</key>
<param>
<key>id</key>
- <value>wxgui_scopesink2_0</value>
+ <value>wxgui_fftsink2_0</value>
</param>
<param>
<key>_enabled</key>
@@ -274,35 +278,55 @@
</param>
<param>
<key>title</key>
- <value>Recovered DQPSK Constellation</value>
+ <value>Receive Spectrum</value>
</param>
<param>
<key>samp_rate</key>
<value>samp_rate</value>
</param>
<param>
- <key>v_scale</key>
- <value>0</value>
+ <key>baseband_freq</key>
+ <value>bb_freq</value>
</param>
<param>
- <key>v_offset</key>
- <value>0</value>
+ <key>y_per_div</key>
+ <value>10</value>
</param>
<param>
- <key>t_scale</key>
- <value>0</value>
+ <key>y_divs</key>
+ <value>10</value>
</param>
<param>
- <key>ac_couple</key>
+ <key>ref_level</key>
+ <value>-40</value>
+ </param>
+ <param>
+ <key>ref_scale</key>
+ <value>p2p</value>
+ </param>
+ <param>
+ <key>fft_size</key>
+ <value>1024</value>
+ </param>
+ <param>
+ <key>fft_rate</key>
+ <value>15</value>
+ </param>
+ <param>
+ <key>peak_hold</key>
<value>False</value>
</param>
<param>
- <key>xy_mode</key>
- <value>True</value>
+ <key>average</key>
+ <value>False</value>
</param>
<param>
- <key>num_inputs</key>
- <value>1</value>
+ <key>avg_alpha</key>
+ <value>0</value>
+ </param>
+ <param>
+ <key>win</key>
+ <value>None</value>
</param>
<param>
<key>win_size</key>
@@ -318,7 +342,30 @@
</param>
<param>
<key>_coordinate</key>
- <value>(747, 237)</value>
+ <value>(383, 321)</value>
+ </param>
+ <param>
+ <key>_rotation</key>
+ <value>0</value>
+ </param>
+ </block>
+ <block>
+ <key>variable</key>
+ <param>
+ <key>id</key>
+ <value>samp_rate</value>
+ </param>
+ <param>
+ <key>_enabled</key>
+ <value>True</value>
+ </param>
+ <param>
+ <key>value</key>
+ <value>1e6/4</value>
+ </param>
+ <param>
+ <key>_coordinate</key>
+ <value>(20, 234)</value>
</param>
<param>
<key>_rotation</key>
@@ -329,7 +376,7 @@
<key>variable_slider</key>
<param>
<key>id</key>
- <value>timing_alpha</value>
+ <value>gain</value>
</param>
<param>
<key>_enabled</key>
@@ -337,11 +384,11 @@
</param>
<param>
<key>label</key>
- <value>Timing Alpha</value>
+ <value>Gain</value>
</param>
<param>
<key>value</key>
- <value>.1</value>
+ <value>20</value>
</param>
<param>
<key>min</key>
@@ -349,7 +396,7 @@
</param>
<param>
<key>max</key>
- <value>.5</value>
+ <value>70</value>
</param>
<param>
<key>num_steps</key>
@@ -373,7 +420,7 @@
</param>
<param>
<key>_coordinate</key>
- <value>(759, 365)</value>
+ <value>(152, 378)</value>
</param>
<param>
<key>_rotation</key>
@@ -381,10 +428,10 @@
</param>
</block>
<block>
- <key>gr_null_sink</key>
+ <key>usrp2_source_xxxx</key>
<param>
<key>id</key>
- <value>gr_null_sink_0</value>
+ <value>usrp2_source_xxxx_0</value>
</param>
<param>
<key>_enabled</key>
@@ -392,70 +439,35 @@
</param>
<param>
<key>type</key>
- <value>byte</value>
- </param>
- <param>
- <key>vlen</key>
- <value>1</value>
- </param>
- <param>
- <key>_coordinate</key>
- <value>(815, 80)</value>
- </param>
- <param>
- <key>_rotation</key>
- <value>0</value>
- </param>
- </block>
- <block>
- <key>variable_slider</key>
- <param>
- <key>id</key>
- <value>costas_alpha</value>
- </param>
- <param>
- <key>_enabled</key>
- <value>True</value>
- </param>
- <param>
- <key>label</key>
- <value>Costas Alpha</value>
- </param>
- <param>
- <key>value</key>
- <value>0.175</value>
- </param>
- <param>
- <key>min</key>
- <value>0</value>
+ <value>complex</value>
</param>
<param>
- <key>max</key>
- <value>.5</value>
+ <key>interface</key>
+ <value></value>
</param>
<param>
- <key>num_steps</key>
- <value>100</value>
+ <key>mac_addr</key>
+ <value></value>
</param>
<param>
- <key>style</key>
- <value>wx.SL_HORIZONTAL</value>
+ <key>decimation</key>
+ <value>int(100e6/samp_rate)</value>
</param>
<param>
- <key>converver</key>
- <value>float_converter</value>
+ <key>frequency</key>
+ <value>bb_freq</value>
</param>
<param>
- <key>grid_pos</key>
- <value></value>
+ <key>lo_offset</key>
+ <value>float('inf')</value>
</param>
<param>
- <key>notebook</key>
- <value></value>
+ <key>gain</key>
+ <value>gain</value>
</param>
<param>
<key>_coordinate</key>
- <value>(598, 367)</value>
+ <value>(158, 51)</value>
</param>
<param>
<key>_rotation</key>
@@ -498,7 +510,7 @@
</param>
<param>
<key>gain</key>
- <value>0</value>
+ <value>gain</value>
</param>
<param>
<key>side</key>
@@ -522,10 +534,10 @@
</param>
</block>
<block>
- <key>wxgui_fftsink2</key>
+ <key>blks2_dxpsk2_demod</key>
<param>
<key>id</key>
- <value>wxgui_fftsink2_0</value>
+ <value>blks2_dxpsk2_demod_0</value>
</param>
<param>
<key>_enabled</key>
@@ -533,59 +545,102 @@
</param>
<param>
<key>type</key>
- <value>complex</value>
+ <value>dqpsk</value>
</param>
<param>
- <key>title</key>
- <value>Receive Spectrum</value>
+ <key>samples_per_symbol</key>
+ <value>samps_per_sym</value>
</param>
<param>
- <key>samp_rate</key>
- <value>samp_rate</value>
+ <key>excess_bw</key>
+ <value>0.35</value>
</param>
<param>
- <key>baseband_freq</key>
- <value>bb_freq</value>
+ <key>costas_alpha</key>
+ <value>costas_alpha</value>
</param>
<param>
- <key>y_per_div</key>
- <value>10</value>
+ <key>timing_alpha</key>
+ <value>timing_alpha</value>
</param>
<param>
- <key>y_divs</key>
- <value>10</value>
+ <key>timing_max_dev</key>
+ <value>1.5</value>
</param>
<param>
- <key>ref_level</key>
- <value>-40</value>
+ <key>omega_relative_limit</key>
+ <value>0.005</value>
</param>
<param>
- <key>ref_scale</key>
- <value>p2p</value>
+ <key>gray_code</key>
+ <value>True</value>
</param>
<param>
- <key>fft_size</key>
- <value>1024</value>
+ <key>verbose</key>
+ <value>False</value>
</param>
<param>
- <key>fft_rate</key>
- <value>20</value>
+ <key>log</key>
+ <value>False</value>
</param>
<param>
- <key>peak_hold</key>
- <value>False</value>
+ <key>sync_out</key>
+ <value>True</value>
</param>
<param>
- <key>average</key>
- <value>False</value>
+ <key>_coordinate</key>
+ <value>(487, 64)</value>
</param>
<param>
- <key>avg_alpha</key>
+ <key>_rotation</key>
<value>0</value>
</param>
+ </block>
+ <block>
+ <key>wxgui_scopesink2</key>
<param>
- <key>win</key>
- <value>None</value>
+ <key>id</key>
+ <value>wxgui_scopesink2_0</value>
+ </param>
+ <param>
+ <key>_enabled</key>
+ <value>True</value>
+ </param>
+ <param>
+ <key>type</key>
+ <value>complex</value>
+ </param>
+ <param>
+ <key>title</key>
+ <value>Recovered DQPSK Constellation</value>
+ </param>
+ <param>
+ <key>samp_rate</key>
+ <value>samp_rate/4/20</value>
+ </param>
+ <param>
+ <key>v_scale</key>
+ <value>0</value>
+ </param>
+ <param>
+ <key>v_offset</key>
+ <value>0</value>
+ </param>
+ <param>
+ <key>t_scale</key>
+ <value>0</value>
+ </param>
+ <param>
+ <key>ac_couple</key>
+ <value>False</value>
+ </param>
+ <param>
+ <key>xy_mode</key>
+ <value>True</value>
+ </param>
+ <param>
+ <key>num_inputs</key>
+ <value>1</value>
</param>
<param>
<key>win_size</key>
@@ -601,7 +656,38 @@
</param>
<param>
<key>_coordinate</key>
- <value>(383, 321)</value>
+ <value>(760, 239)</value>
+ </param>
+ <param>
+ <key>_rotation</key>
+ <value>180</value>
+ </param>
+ </block>
+ <block>
+ <key>gr_keep_one_in_n</key>
+ <param>
+ <key>id</key>
+ <value>gr_keep_one_in_n_0</value>
+ </param>
+ <param>
+ <key>_enabled</key>
+ <value>True</value>
+ </param>
+ <param>
+ <key>type</key>
+ <value>complex</value>
+ </param>
+ <param>
+ <key>n</key>
+ <value>20</value>
+ </param>
+ <param>
+ <key>vlen</key>
+ <value>1</value>
+ </param>
+ <param>
+ <key>_coordinate</key>
+ <value>(873, 151)</value>
</param>
<param>
<key>_rotation</key>
@@ -628,8 +714,14 @@
</connection>
<connection>
<source_block_id>blks2_dxpsk2_demod_0</source_block_id>
- <sink_block_id>wxgui_scopesink2_0</sink_block_id>
+ <sink_block_id>gr_keep_one_in_n_0</sink_block_id>
<source_key>1</source_key>
<sink_key>0</sink_key>
</connection>
+ <connection>
+ <source_block_id>gr_keep_one_in_n_0</source_block_id>
+ <sink_block_id>wxgui_scopesink2_0</sink_block_id>
+ <source_key>0</source_key>
+ <sink_key>0</sink_key>
+ </connection>
</flow_graph>