summaryrefslogtreecommitdiff
path: root/gnuradio-examples/grc/pam_timing.grc
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-examples/grc/pam_timing.grc')
-rw-r--r--gnuradio-examples/grc/pam_timing.grc505
1 files changed, 365 insertions, 140 deletions
diff --git a/gnuradio-examples/grc/pam_timing.grc b/gnuradio-examples/grc/pam_timing.grc
index 989c795a9..d357a1b55 100644
--- a/gnuradio-examples/grc/pam_timing.grc
+++ b/gnuradio-examples/grc/pam_timing.grc
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
- <timestamp>Tue Oct 6 14:19:10 2009</timestamp>
+ <timestamp>Tue Oct 6 17:40:15 2009</timestamp>
<block>
<key>options</key>
<param>
@@ -57,22 +57,38 @@
</param>
</block>
<block>
- <key>variable</key>
+ <key>random_source_x</key>
<param>
<key>id</key>
- <value>samp_rate</value>
+ <value>random_source_x_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
- <key>value</key>
- <value>32000</value>
+ <key>type</key>
+ <value>byte</value>
+ </param>
+ <param>
+ <key>min</key>
+ <value>0</value>
+ </param>
+ <param>
+ <key>max</key>
+ <value>2</value>
+ </param>
+ <param>
+ <key>num_samps</key>
+ <value>1000</value>
+ </param>
+ <param>
+ <key>repeat</key>
+ <value>True</value>
</param>
<param>
<key>_coordinate</key>
- <value>(128, 9)</value>
+ <value>(13, 80)</value>
</param>
<param>
<key>_rotation</key>
@@ -80,18 +96,26 @@
</param>
</block>
<block>
- <key>gr_uchar_to_float</key>
+ <key>const_source_x</key>
<param>
<key>id</key>
- <value>gr_uchar_to_float_0</value>
+ <value>const_source_x_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
+ <key>type</key>
+ <value>float</value>
+ </param>
+ <param>
+ <key>const</key>
+ <value>-0.5</value>
+ </param>
+ <param>
<key>_coordinate</key>
- <value>(270, 115)</value>
+ <value>(179, 160)</value>
</param>
<param>
<key>_rotation</key>
@@ -99,10 +123,10 @@
</param>
</block>
<block>
- <key>random_source_x</key>
+ <key>gr_add_xx</key>
<param>
<key>id</key>
- <value>random_source_x_0</value>
+ <value>gr_add_xx_0</value>
</param>
<param>
<key>_enabled</key>
@@ -110,7 +134,42 @@
</param>
<param>
<key>type</key>
- <value>byte</value>
+ <value>float</value>
+ </param>
+ <param>
+ <key>num_inputs</key>
+ <value>2</value>
+ </param>
+ <param>
+ <key>vlen</key>
+ <value>1</value>
+ </param>
+ <param>
+ <key>_coordinate</key>
+ <value>(505, 128)</value>
+ </param>
+ <param>
+ <key>_rotation</key>
+ <value>0</value>
+ </param>
+ </block>
+ <block>
+ <key>variable_slider</key>
+ <param>
+ <key>id</key>
+ <value>noise_amp</value>
+ </param>
+ <param>
+ <key>_enabled</key>
+ <value>True</value>
+ </param>
+ <param>
+ <key>label</key>
+ <value>noise_amp</value>
+ </param>
+ <param>
+ <key>value</key>
+ <value>0</value>
</param>
<param>
<key>min</key>
@@ -118,19 +177,31 @@
</param>
<param>
<key>max</key>
- <value>2</value>
+ <value>1.0</value>
</param>
<param>
- <key>num_samps</key>
+ <key>num_steps</key>
<value>1000</value>
</param>
<param>
- <key>repeat</key>
- <value>True</value>
+ <key>style</key>
+ <value>wx.SL_HORIZONTAL</value>
+ </param>
+ <param>
+ <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>(13, 80)</value>
+ <value>(600, -1)</value>
</param>
<param>
<key>_rotation</key>
@@ -138,10 +209,10 @@
</param>
</block>
<block>
- <key>const_source_x</key>
+ <key>gr_noise_source_x</key>
<param>
<key>id</key>
- <value>const_source_x_0</value>
+ <value>gr_noise_source_x_0</value>
</param>
<param>
<key>_enabled</key>
@@ -152,12 +223,20 @@
<value>float</value>
</param>
<param>
- <key>const</key>
- <value>-0.5</value>
+ <key>noise_type</key>
+ <value>gr.GR_GAUSSIAN</value>
+ </param>
+ <param>
+ <key>amp</key>
+ <value>noise_amp</value>
+ </param>
+ <param>
+ <key>seed</key>
+ <value>42</value>
</param>
<param>
<key>_coordinate</key>
- <value>(179, 160)</value>
+ <value>(45, 497)</value>
</param>
<param>
<key>_rotation</key>
@@ -165,50 +244,50 @@
</param>
</block>
<block>
- <key>variable_chooser</key>
+ <key>root_raised_cosine_filter</key>
<param>
<key>id</key>
- <value>spb</value>
+ <value>root_raised_cosine_filter_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
- <key>label</key>
- <value>Samples Per Bit</value>
+ <key>type</key>
+ <value>interp_fir_filter_fff</value>
</param>
<param>
- <key>value</key>
- <value>4</value>
+ <key>decim</key>
+ <value>1</value>
</param>
<param>
- <key>choices</key>
- <value>[1, 2, 3, 4, 5, 6, 7, 8]</value>
+ <key>interp</key>
+ <value>spb</value>
</param>
<param>
- <key>labels</key>
- <value>[]</value>
+ <key>gain</key>
+ <value>2*spb</value>
</param>
<param>
- <key>type</key>
- <value>drop_down</value>
+ <key>samp_rate</key>
+ <value>1.0</value>
</param>
<param>
- <key>style</key>
- <value>wx.RA_HORIZONTAL</value>
+ <key>sym_rate</key>
+ <value>1./spb</value>
</param>
<param>
- <key>grid_pos</key>
- <value></value>
+ <key>alpha</key>
+ <value>0.35</value>
</param>
<param>
- <key>notebook</key>
- <value></value>
+ <key>ntaps</key>
+ <value>11*spb</value>
</param>
<param>
<key>_coordinate</key>
- <value>(0, 834)</value>
+ <value>(50, 295)</value>
</param>
<param>
<key>_rotation</key>
@@ -216,10 +295,10 @@
</param>
</block>
<block>
- <key>wxgui_scopesink2</key>
+ <key>gr_add_xx</key>
<param>
<key>id</key>
- <value>wxgui_scopesink2_0</value>
+ <value>gr_add_xx_0_0</value>
</param>
<param>
<key>_enabled</key>
@@ -230,44 +309,66 @@
<value>float</value>
</param>
<param>
- <key>title</key>
- <value>Scope Plot</value>
+ <key>num_inputs</key>
+ <value>2</value>
</param>
<param>
- <key>samp_rate</key>
- <value>samp_rate</value>
+ <key>vlen</key>
+ <value>1</value>
</param>
<param>
- <key>v_scale</key>
+ <key>_coordinate</key>
+ <value>(375, 390)</value>
+ </param>
+ <param>
+ <key>_rotation</key>
<value>0</value>
</param>
+ </block>
+ <block>
+ <key>const_source_x</key>
<param>
- <key>t_scale</key>
+ <key>id</key>
+ <value>const_source_x_1</value>
+ </param>
+ <param>
+ <key>_enabled</key>
+ <value>True</value>
+ </param>
+ <param>
+ <key>type</key>
+ <value>float</value>
+ </param>
+ <param>
+ <key>const</key>
<value>0</value>
</param>
<param>
- <key>ac_couple</key>
- <value>False</value>
+ <key>_coordinate</key>
+ <value>(36, 723)</value>
</param>
<param>
- <key>xy_mode</key>
- <value>False</value>
+ <key>_rotation</key>
+ <value>0</value>
</param>
+ </block>
+ <block>
+ <key>variable</key>
<param>
- <key>num_inputs</key>
- <value>1</value>
+ <key>id</key>
+ <value>spb</value>
</param>
<param>
- <key>grid_pos</key>
- <value></value>
+ <key>_enabled</key>
+ <value>True</value>
</param>
<param>
- <key>notebook</key>
- <value></value>
+ <key>value</key>
+ <value>4</value>
</param>
<param>
<key>_coordinate</key>
- <value>(750, 128)</value>
+ <value>(34, 915)</value>
</param>
<param>
<key>_rotation</key>
@@ -275,10 +376,56 @@
</param>
</block>
<block>
- <key>gr_add_xx</key>
+ <key>variable</key>
<param>
<key>id</key>
- <value>gr_add_xx_0</value>
+ <value>nfilts</value>
+ </param>
+ <param>
+ <key>_enabled</key>
+ <value>True</value>
+ </param>
+ <param>
+ <key>value</key>
+ <value>32</value>
+ </param>
+ <param>
+ <key>_coordinate</key>
+ <value>(31, 828)</value>
+ </param>
+ <param>
+ <key>_rotation</key>
+ <value>0</value>
+ </param>
+ </block>
+ <block>
+ <key>variable</key>
+ <param>
+ <key>id</key>
+ <value>rrctaps</value>
+ </param>
+ <param>
+ <key>_enabled</key>
+ <value>True</value>
+ </param>
+ <param>
+ <key>value</key>
+ <value>firdes.root_raised_cosine(nfilts,1.0,0.25/nfilts, .35, 11*spb*nfilts)</value>
+ </param>
+ <param>
+ <key>_coordinate</key>
+ <value>(180, 935)</value>
+ </param>
+ <param>
+ <key>_rotation</key>
+ <value>0</value>
+ </param>
+ </block>
+ <block>
+ <key>gr_throttle</key>
+ <param>
+ <key>id</key>
+ <value>gr_throttle_0</value>
</param>
<param>
<key>_enabled</key>
@@ -286,11 +433,11 @@
</param>
<param>
<key>type</key>
- <value>float</value>
+ <value>complex</value>
</param>
<param>
- <key>num_inputs</key>
- <value>2</value>
+ <key>samples_per_second</key>
+ <value>samp_rate</value>
</param>
<param>
<key>vlen</key>
@@ -298,7 +445,7 @@
</param>
<param>
<key>_coordinate</key>
- <value>(505, 128)</value>
+ <value>(757, 418)</value>
</param>
<param>
<key>_rotation</key>
@@ -309,7 +456,7 @@
<key>variable_slider</key>
<param>
<key>id</key>
- <value>noise_amp</value>
+ <value>gain</value>
</param>
<param>
<key>_enabled</key>
@@ -317,7 +464,7 @@
</param>
<param>
<key>label</key>
- <value>noise_amp</value>
+ <value>Gain</value>
</param>
<param>
<key>value</key>
@@ -329,7 +476,7 @@
</param>
<param>
<key>max</key>
- <value>1.0</value>
+ <value>1</value>
</param>
<param>
<key>num_steps</key>
@@ -353,7 +500,7 @@
</param>
<param>
<key>_coordinate</key>
- <value>(600, -1)</value>
+ <value>(537, 278)</value>
</param>
<param>
<key>_rotation</key>
@@ -361,30 +508,18 @@
</param>
</block>
<block>
- <key>gr_throttle</key>
+ <key>gr_uchar_to_float</key>
<param>
<key>id</key>
- <value>gr_throttle_0</value>
+ <value>gr_uchar_to_float_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
- <key>type</key>
- <value>float</value>
- </param>
- <param>
- <key>samples_per_second</key>
- <value>samp_rate</value>
- </param>
- <param>
- <key>vlen</key>
- <value>1</value>
- </param>
- <param>
<key>_coordinate</key>
- <value>(561, 284)</value>
+ <value>(261, 107)</value>
</param>
<param>
<key>_rotation</key>
@@ -392,10 +527,10 @@
</param>
</block>
<block>
- <key>gr_noise_source_x</key>
+ <key>wxgui_scopesink2</key>
<param>
<key>id</key>
- <value>gr_noise_source_x_0</value>
+ <value>wxgui_scopesink2_0</value>
</param>
<param>
<key>_enabled</key>
@@ -403,23 +538,47 @@
</param>
<param>
<key>type</key>
- <value>float</value>
+ <value>complex</value>
</param>
<param>
- <key>noise_type</key>
- <value>gr.GR_GAUSSIAN</value>
+ <key>title</key>
+ <value>Scope Plot</value>
</param>
<param>
- <key>amp</key>
- <value>noise_amp</value>
+ <key>samp_rate</key>
+ <value>samp_rate</value>
</param>
<param>
- <key>seed</key>
- <value>42</value>
+ <key>v_scale</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>False</value>
+ </param>
+ <param>
+ <key>num_inputs</key>
+ <value>1</value>
+ </param>
+ <param>
+ <key>grid_pos</key>
+ <value></value>
+ </param>
+ <param>
+ <key>notebook</key>
+ <value></value>
</param>
<param>
<key>_coordinate</key>
- <value>(45, 497)</value>
+ <value>(750, 128)</value>
</param>
<param>
<key>_rotation</key>
@@ -427,10 +586,10 @@
</param>
</block>
<block>
- <key>root_raised_cosine_filter</key>
+ <key>wxgui_scopesink2</key>
<param>
<key>id</key>
- <value>root_raised_cosine_filter_0</value>
+ <value>wxgui_scopesink2_0_0</value>
</param>
<param>
<key>_enabled</key>
@@ -438,39 +597,70 @@
</param>
<param>
<key>type</key>
- <value>interp_fir_filter_fff</value>
+ <value>float</value>
</param>
<param>
- <key>decim</key>
+ <key>title</key>
+ <value>Scope Plot</value>
+ </param>
+ <param>
+ <key>samp_rate</key>
+ <value>samp_rate</value>
+ </param>
+ <param>
+ <key>v_scale</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>False</value>
+ </param>
+ <param>
+ <key>num_inputs</key>
<value>1</value>
</param>
<param>
- <key>interp</key>
- <value>spb</value>
+ <key>grid_pos</key>
+ <value></value>
</param>
<param>
- <key>gain</key>
- <value>2*spb</value>
+ <key>notebook</key>
+ <value></value>
</param>
<param>
- <key>samp_rate</key>
- <value>1.0</value>
+ <key>_coordinate</key>
+ <value>(643, 853)</value>
</param>
<param>
- <key>sym_rate</key>
- <value>1./spb</value>
+ <key>_rotation</key>
+ <value>0</value>
</param>
+ </block>
+ <block>
+ <key>gr_float_to_complex</key>
<param>
- <key>alpha</key>
- <value>0.35</value>
+ <key>id</key>
+ <value>gr_float_to_complex_0</value>
</param>
<param>
- <key>ntaps</key>
- <value>11*spb</value>
+ <key>_enabled</key>
+ <value>True</value>
+ </param>
+ <param>
+ <key>vlen</key>
+ <value>1</value>
</param>
<param>
<key>_coordinate</key>
- <value>(50, 295)</value>
+ <value>(380, 553)</value>
</param>
<param>
<key>_rotation</key>
@@ -478,30 +668,38 @@
</param>
</block>
<block>
- <key>gr_add_xx</key>
+ <key>gr_pfb_clock_sync_ccf</key>
<param>
<key>id</key>
- <value>gr_add_xx_0_0</value>
+ <value>gr_pfb_clock_sync_ccf_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
- <key>type</key>
- <value>float</value>
+ <key>sps</key>
+ <value>spb</value>
</param>
<param>
- <key>num_inputs</key>
- <value>2</value>
+ <key>gain</key>
+ <value>gain</value>
</param>
<param>
- <key>vlen</key>
- <value>1</value>
+ <key>taps</key>
+ <value>rrctaps</value>
+ </param>
+ <param>
+ <key>filter_size</key>
+ <value>nfilts</value>
+ </param>
+ <param>
+ <key>init_phase</key>
+ <value>14</value>
</param>
<param>
<key>_coordinate</key>
- <value>(374, 389)</value>
+ <value>(341, 777)</value>
</param>
<param>
<key>_rotation</key>
@@ -509,10 +707,10 @@
</param>
</block>
<block>
- <key>root_raised_cosine_filter</key>
+ <key>gr_fractional_interpolator_xx</key>
<param>
<key>id</key>
- <value>root_raised_cosine_filter_0_0</value>
+ <value>gr_fractional_interpolator_xx_0</value>
</param>
<param>
<key>_enabled</key>
@@ -520,39 +718,42 @@
</param>
<param>
<key>type</key>
- <value>interp_fir_filter_fff</value>
+ <value>complex</value>
</param>
<param>
- <key>decim</key>
- <value>1</value>
+ <key>phase_shift</key>
+ <value>0.5</value>
</param>
<param>
- <key>interp</key>
+ <key>interp_ratio</key>
<value>1</value>
</param>
<param>
- <key>gain</key>
- <value>1</value>
+ <key>_coordinate</key>
+ <value>(349, 662)</value>
</param>
<param>
- <key>samp_rate</key>
- <value>1.0</value>
+ <key>_rotation</key>
+ <value>0</value>
</param>
+ </block>
+ <block>
+ <key>variable</key>
<param>
- <key>sym_rate</key>
- <value>1./spb</value>
+ <key>id</key>
+ <value>samp_rate</value>
</param>
<param>
- <key>alpha</key>
- <value>0.35</value>
+ <key>_enabled</key>
+ <value>True</value>
</param>
<param>
- <key>ntaps</key>
- <value>11*spb</value>
+ <key>value</key>
+ <value>320000</value>
</param>
<param>
<key>_coordinate</key>
- <value>(376, 598)</value>
+ <value>(128, 9)</value>
</param>
<param>
<key>_rotation</key>
@@ -603,14 +804,38 @@
</connection>
<connection>
<source_block_id>gr_add_xx_0_0</source_block_id>
- <sink_block_id>root_raised_cosine_filter_0_0</sink_block_id>
+ <sink_block_id>gr_float_to_complex_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
- <source_block_id>root_raised_cosine_filter_0_0</source_block_id>
+ <source_block_id>const_source_x_1</source_block_id>
+ <sink_block_id>gr_float_to_complex_0</sink_block_id>
+ <source_key>0</source_key>
+ <sink_key>1</sink_key>
+ </connection>
+ <connection>
+ <source_block_id>gr_pfb_clock_sync_ccf_0</source_block_id>
<sink_block_id>gr_throttle_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
+ <connection>
+ <source_block_id>gr_pfb_clock_sync_ccf_0</source_block_id>
+ <sink_block_id>wxgui_scopesink2_0_0</sink_block_id>
+ <source_key>1</source_key>
+ <sink_key>0</sink_key>
+ </connection>
+ <connection>
+ <source_block_id>gr_float_to_complex_0</source_block_id>
+ <sink_block_id>gr_fractional_interpolator_xx_0</sink_block_id>
+ <source_key>0</source_key>
+ <sink_key>0</sink_key>
+ </connection>
+ <connection>
+ <source_block_id>gr_fractional_interpolator_xx_0</source_block_id>
+ <sink_block_id>gr_pfb_clock_sync_ccf_0</sink_block_id>
+ <source_key>0</source_key>
+ <sink_key>0</sink_key>
+ </connection>
</flow_graph>