diff options
Diffstat (limited to 'gr-noaa/apps/demod_hrpt_file.grc')
-rw-r--r-- | gr-noaa/apps/demod_hrpt_file.grc | 491 |
1 files changed, 243 insertions, 248 deletions
diff --git a/gr-noaa/apps/demod_hrpt_file.grc b/gr-noaa/apps/demod_hrpt_file.grc index 7a0bbe892..a5df8786f 100644 --- a/gr-noaa/apps/demod_hrpt_file.grc +++ b/gr-noaa/apps/demod_hrpt_file.grc @@ -1,23 +1,55 @@ <?xml version='1.0' encoding='ASCII'?> <flow_graph> - <timestamp>Sun Oct 4 08:40:03 2009</timestamp> + <timestamp>Sun Nov 1 18:39:07 2009</timestamp> <block> - <key>variable</key> + <key>options</key> <param> <key>id</key> - <value>max_sync_offset</value> + <value>demod_hrpt_file</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>value</key> - <value>0.01</value> + <key>title</key> + <value></value> + </param> + <param> + <key>author</key> + <value></value> + </param> + <param> + <key>description</key> + <value></value> + </param> + <param> + <key>window_size</key> + <value>4096,4096</value> + </param> + <param> + <key>generate_options</key> + <value>no_gui</value> + </param> + <param> + <key>category</key> + <value>Custom</value> + </param> + <param> + <key>run_options</key> + <value>run</value> + </param> + <param> + <key>run</key> + <value>True</value> + </param> + <param> + <key>realtime_scheduling</key> + <value></value> </param> <param> <key>_coordinate</key> - <value>(705, 19)</value> + <value>(10, 10)</value> </param> <param> <key>_rotation</key> @@ -51,7 +83,7 @@ <key>variable</key> <param> <key>id</key> - <value>hs</value> + <value>sym_rate</value> </param> <param> <key>_enabled</key> @@ -59,11 +91,11 @@ </param> <param> <key>value</key> - <value>int(sps/2.0)</value> + <value>600*1109</value> </param> <param> <key>_coordinate</key> - <value>(499, 19)</value> + <value>(301, 19)</value> </param> <param> <key>_rotation</key> @@ -97,7 +129,7 @@ <key>variable</key> <param> <key>id</key> - <value>sym_rate</value> + <value>hs</value> </param> <param> <key>_enabled</key> @@ -105,11 +137,11 @@ </param> <param> <key>value</key> - <value>600*1109</value> + <value>int(sps/2.0)</value> </param> <param> <key>_coordinate</key> - <value>(301, 19)</value> + <value>(499, 19)</value> </param> <param> <key>_rotation</key> @@ -140,34 +172,45 @@ </param> </block> <block> - <key>parameter</key> + <key>variable</key> <param> <key>id</key> - <value>filename</value> + <value>max_clock_offset</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>label</key> - <value>Filename</value> + <key>value</key> + <value>0.1</value> </param> <param> - <key>value</key> - <value>usrp.dat</value> + <key>_coordinate</key> + <value>(710, 17)</value> </param> <param> - <key>type</key> - <value>string</value> + <key>_rotation</key> + <value>0</value> </param> + </block> + <block> + <key>import</key> <param> - <key>short_id</key> - <value>F</value> + <key>id</key> + <value>import_0</value> + </param> + <param> + <key>_enabled</key> + <value>True</value> + </param> + <param> + <key>import</key> + <value>import math, os</value> </param> <param> <key>_coordinate</key> - <value>(200, 101)</value> + <value>(11, 103)</value> </param> <param> <key>_rotation</key> @@ -178,7 +221,7 @@ <key>parameter</key> <param> <key>id</key> - <value>output</value> + <value>decim</value> </param> <param> <key>_enabled</key> @@ -186,23 +229,23 @@ </param> <param> <key>label</key> - <value>Output</value> + <value>decim</value> </param> <param> <key>value</key> - <value>frames.dat</value> + <value>16</value> </param> <param> <key>type</key> - <value>string</value> + <value>intx</value> </param> <param> <key>short_id</key> - <value>o</value> + <value>d</value> </param> <param> <key>_coordinate</key> - <value>(302, 101)</value> + <value>(202, 102)</value> </param> <param> <key>_rotation</key> @@ -210,45 +253,34 @@ </param> </block> <block> - <key>gr_float_to_complex</key> + <key>parameter</key> <param> <key>id</key> - <value>f2c</value> + <value>pll_alpha</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>vlen</key> - <value>1</value> - </param> - <param> - <key>_coordinate</key> - <value>(832, 363)</value> - </param> - <param> - <key>_rotation</key> - <value>0</value> + <key>label</key> + <value>pll_alpha</value> </param> - </block> - <block> - <key>virtual_sink</key> <param> - <key>id</key> - <value>samples_sink</value> + <key>value</key> + <value>0.05</value> </param> <param> - <key>_enabled</key> - <value>True</value> + <key>type</key> + <value>eng_float</value> </param> <param> - <key>stream_id</key> - <value>samples</value> + <key>short_id</key> + <value>p</value> </param> <param> <key>_coordinate</key> - <value>(1070, 376)</value> + <value>(294, 101)</value> </param> <param> <key>_rotation</key> @@ -256,34 +288,34 @@ </param> </block> <block> - <key>noaa_hrpt_sync_fb</key> + <key>parameter</key> <param> <key>id</key> - <value>sync</value> + <value>clock_alpha</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>alpha</key> - <value>sync_alpha</value> + <key>label</key> + <value>clock_alpha</value> </param> <param> - <key>beta</key> - <value>sync_alpha**2/4.0</value> + <key>value</key> + <value>0.05</value> </param> <param> - <key>sps</key> - <value>sps</value> + <key>type</key> + <value>eng_float</value> </param> <param> - <key>max_offset</key> - <value>max_sync_offset</value> + <key>short_id</key> + <value>a</value> </param> <param> <key>_coordinate</key> - <value>(813, 455)</value> + <value>(395, 101)</value> </param> <param> <key>_rotation</key> @@ -291,49 +323,34 @@ </param> </block> <block> - <key>noaa_hrpt_deframer</key> + <key>parameter</key> <param> <key>id</key> - <value>deframer</value> + <value>sync_alpha</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>_coordinate</key> - <value>(1037, 483)</value> - </param> - <param> - <key>_rotation</key> - <value>0</value> - </param> - </block> - <block> - <key>gr_file_sink</key> - <param> - <key>id</key> - <value>file_sink</value> - </param> - <param> - <key>_enabled</key> - <value>True</value> + <key>label</key> + <value>sync_alpha</value> </param> <param> - <key>file</key> - <value>output</value> + <key>value</key> + <value>0.05</value> </param> <param> <key>type</key> - <value>short</value> + <value>eng_float</value> </param> <param> - <key>vlen</key> - <value>1</value> + <key>short_id</key> + <value>s</value> </param> <param> <key>_coordinate</key> - <value>(1238, 479)</value> + <value>(508, 102)</value> </param> <param> <key>_rotation</key> @@ -341,49 +358,34 @@ </param> </block> <block> - <key>noaa_hrpt_decoder</key> + <key>parameter</key> <param> <key>id</key> - <value>decoder</value> + <value>input_filename</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>_coordinate</key> - <value>(1237, 542)</value> - </param> - <param> - <key>_rotation</key> - <value>0</value> - </param> - </block> - <block> - <key>gr_deinterleave</key> - <param> - <key>id</key> - <value>deinterleave</value> + <key>label</key> + <value>input_filename</value> </param> <param> - <key>_enabled</key> - <value>True</value> + <key>value</key> + <value>usrp.dat</value> </param> <param> <key>type</key> - <value>float</value> - </param> - <param> - <key>num_streams</key> - <value>2</value> + <value>string</value> </param> <param> - <key>vlen</key> - <value>1</value> + <key>short_id</key> + <value>F</value> </param> <param> <key>_coordinate</key> - <value>(628, 363)</value> + <value>(618, 102)</value> </param> <param> <key>_rotation</key> @@ -394,7 +396,7 @@ <key>parameter</key> <param> <key>id</key> - <value>decim</value> + <value>output_filename</value> </param> <param> <key>_enabled</key> @@ -402,58 +404,58 @@ </param> <param> <key>label</key> - <value>Decimation</value> + <value>output_filename</value> </param> <param> <key>value</key> - <value>16</value> + <value>frames.dat</value> </param> <param> <key>type</key> - <value>intx</value> + <value>string</value> </param> <param> <key>short_id</key> - <value>d</value> + <value>o</value> </param> <param> <key>_coordinate</key> - <value>(415, 101)</value> + <value>(726, 102)</value> </param> <param> <key>_rotation</key> - <value>0</value> + <value>180</value> </param> </block> <block> - <key>parameter</key> + <key>gr_file_source</key> <param> <key>id</key> - <value>pll_alpha</value> + <value>file_source</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>label</key> - <value></value> + <key>file</key> + <value>input_filename</value> </param> <param> - <key>value</key> - <value>0.05</value> + <key>type</key> + <value>short</value> </param> <param> - <key>type</key> - <value>eng_float</value> + <key>repeat</key> + <value>False</value> </param> <param> - <key>short_id</key> - <value>p</value> + <key>vlen</key> + <value>1</value> </param> <param> <key>_coordinate</key> - <value>(527, 101)</value> + <value>(62, 306)</value> </param> <param> <key>_rotation</key> @@ -461,34 +463,57 @@ </param> </block> <block> - <key>parameter</key> + <key>gr_interleaved_short_to_complex</key> <param> <key>id</key> - <value>sync_alpha</value> + <value>cs2cf</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>label</key> - <value></value> + <key>_coordinate</key> + <value>(297, 318)</value> </param> <param> - <key>value</key> - <value>0.05</value> + <key>_rotation</key> + <value>0</value> + </param> + </block> + <block> + <key>gr_agc_xx</key> + <param> + <key>id</key> + <value>agc</value> + </param> + <param> + <key>_enabled</key> + <value>True</value> </param> <param> <key>type</key> - <value>eng_float</value> + <value>complex</value> </param> <param> - <key>short_id</key> - <value>s</value> + <key>rate</key> + <value>1e-5</value> + </param> + <param> + <key>reference</key> + <value>1.0</value> + </param> + <param> + <key>gain</key> + <value>1.0/32768.0</value> + </param> + <param> + <key>max_gain</key> + <value>1.0</value> </param> <param> <key>_coordinate</key> - <value>(615, 99)</value> + <value>(538, 290)</value> </param> <param> <key>_rotation</key> @@ -519,7 +544,7 @@ </param> <param> <key>_coordinate</key> - <value>(606, 463)</value> + <value>(720, 297)</value> </param> <param> <key>_rotation</key> @@ -527,41 +552,34 @@ </param> </block> <block> - <key>virtual_source</key> + <key>gr_moving_average_xx</key> <param> <key>id</key> - <value>samples_source</value> + <value>gr_moving_average_xx_0</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>stream_id</key> - <value>samples</value> - </param> - <param> - <key>_coordinate</key> - <value>(164, 479)</value> + <key>type</key> + <value>float</value> </param> <param> - <key>_rotation</key> - <value>0</value> + <key>length</key> + <value>hs</value> </param> - </block> - <block> - <key>gr_short_to_float</key> <param> - <key>id</key> - <value>s2f</value> + <key>scale</key> + <value>1.0/hs</value> </param> <param> - <key>_enabled</key> - <value>True</value> + <key>max_iter</key> + <value>4000</value> </param> <param> <key>_coordinate</key> - <value>(365, 380)</value> + <value>(949, 297)</value> </param> <param> <key>_rotation</key> @@ -569,34 +587,42 @@ </param> </block> <block> - <key>gr_file_source</key> + <key>gr_clock_recovery_mm_xx</key> <param> <key>id</key> - <value>file_source</value> + <value>gr_clock_recovery_mm_xx_0</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>file</key> - <value>filename</value> + <key>type</key> + <value>float</value> </param> <param> - <key>type</key> - <value>short</value> + <key>omega</key> + <value>sps/2.0</value> </param> <param> - <key>repeat</key> - <value>False</value> + <key>gain_omega</key> + <value>clock_alpha**2/4.0</value> </param> <param> - <key>vlen</key> - <value>1</value> + <key>mu</key> + <value>0.5</value> + </param> + <param> + <key>gain_mu</key> + <value>clock_alpha</value> + </param> + <param> + <key>omega_relative_limit</key> + <value>max_clock_offset</value> </param> <param> <key>_coordinate</key> - <value>(162, 368)</value> + <value>(1158, 281)</value> </param> <param> <key>_rotation</key> @@ -604,22 +630,18 @@ </param> </block> <block> - <key>variable</key> + <key>gr_binary_slicer_fb</key> <param> <key>id</key> - <value>mf_taps</value> + <value>gr_binary_slicer_fb_0</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>value</key> - <value>[-0.5/hs,]*hs+[0.5/hs,]*hs</value> - </param> - <param> <key>_coordinate</key> - <value>(829, 21)</value> + <value>(112, 537)</value> </param> <param> <key>_rotation</key> @@ -627,30 +649,30 @@ </param> </block> <block> - <key>gr_fir_filter_xxx</key> + <key>gr_file_sink</key> <param> <key>id</key> - <value>gr_fir_filter_xxx_0</value> + <value>gr_file_sink_0</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>type</key> - <value>ccc</value> + <key>file</key> + <value>output_filename</value> </param> <param> - <key>decim</key> - <value>1</value> + <key>type</key> + <value>short</value> </param> <param> - <key>taps</key> - <value>mf_taps</value> + <key>vlen</key> + <value>1</value> </param> <param> <key>_coordinate</key> - <value>(359, 471)</value> + <value>(732, 615)</value> </param> <param> <key>_rotation</key> @@ -658,22 +680,18 @@ </param> </block> <block> - <key>import</key> + <key>noaa_hrpt_decoder</key> <param> <key>id</key> - <value>import_0</value> + <value>noaa_hrpt_decoder_0</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>import</key> - <value>import math</value> - </param> - <param> <key>_coordinate</key> - <value>(11, 111)</value> + <value>(730, 537)</value> </param> <param> <key>_rotation</key> @@ -681,54 +699,37 @@ </param> </block> <block> - <key>options</key> + <key>noaa_hrpt_bit_sync</key> <param> <key>id</key> - <value>demod_hrpt_file</value> + <value>noaa_hrpt_bit_sync_0</value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> - <key>title</key> - <value>USRP HRPT Receiver</value> - </param> - <param> - <key>author</key> - <value></value> - </param> - <param> - <key>description</key> - <value></value> - </param> - <param> - <key>window_size</key> - <value>4096,4096</value> - </param> - <param> - <key>generate_options</key> - <value>no_gui</value> + <key>_coordinate</key> + <value>(330, 537)</value> </param> <param> - <key>category</key> - <value>Custom</value> + <key>_rotation</key> + <value>0</value> </param> + </block> + <block> + <key>noaa_hrpt_deframer</key> <param> - <key>run_options</key> - <value>run</value> + <key>id</key> + <value>noaa_hrpt_deframer_0</value> </param> <param> - <key>run</key> + <key>_enabled</key> <value>True</value> </param> <param> - <key>realtime_scheduling</key> - <value></value> - </param> - <param> <key>_coordinate</key> - <value>(10, 10)</value> + <value>(536, 537)</value> </param> <param> <key>_rotation</key> @@ -736,68 +737,62 @@ </param> </block> <connection> - <source_block_id>deframer</source_block_id> - <sink_block_id>file_sink</sink_block_id> + <source_block_id>file_source</source_block_id> + <sink_block_id>cs2cf</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> - <source_block_id>sync</source_block_id> - <sink_block_id>deframer</sink_block_id> + <source_block_id>gr_clock_recovery_mm_xx_0</source_block_id> + <sink_block_id>gr_binary_slicer_fb_0</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> - <source_block_id>pll</source_block_id> - <sink_block_id>sync</sink_block_id> + <source_block_id>gr_moving_average_xx_0</source_block_id> + <sink_block_id>gr_clock_recovery_mm_xx_0</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> - <source_block_id>deinterleave</source_block_id> - <sink_block_id>f2c</sink_block_id> - <source_key>1</source_key> - <sink_key>1</sink_key> - </connection> - <connection> - <source_block_id>deinterleave</source_block_id> - <sink_block_id>f2c</sink_block_id> + <source_block_id>pll</source_block_id> + <sink_block_id>gr_moving_average_xx_0</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> - <source_block_id>deframer</source_block_id> - <sink_block_id>decoder</sink_block_id> + <source_block_id>gr_binary_slicer_fb_0</source_block_id> + <sink_block_id>noaa_hrpt_bit_sync_0</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> - <source_block_id>f2c</source_block_id> - <sink_block_id>samples_sink</sink_block_id> + <source_block_id>cs2cf</source_block_id> + <sink_block_id>agc</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> - <source_block_id>gr_fir_filter_xxx_0</source_block_id> + <source_block_id>agc</source_block_id> <sink_block_id>pll</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> - <source_block_id>samples_source</source_block_id> - <sink_block_id>gr_fir_filter_xxx_0</sink_block_id> + <source_block_id>noaa_hrpt_deframer_0</source_block_id> + <sink_block_id>gr_file_sink_0</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> - <source_block_id>s2f</source_block_id> - <sink_block_id>deinterleave</sink_block_id> + <source_block_id>noaa_hrpt_deframer_0</source_block_id> + <sink_block_id>noaa_hrpt_decoder_0</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> - <source_block_id>file_source</source_block_id> - <sink_block_id>s2f</sink_block_id> + <source_block_id>noaa_hrpt_bit_sync_0</source_block_id> + <sink_block_id>noaa_hrpt_deframer_0</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> |