From 70709caa2cc5990df6e735186e0d7db97f6a0944 Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Sun, 4 Oct 2009 08:54:41 -0700 Subject: [PATCH] Added run-to-completion to demod_hrpt_file.grc --- gr-noaa/apps/demod_hrpt_file.grc | 154 ++++++++++++++++--------------- gr-noaa/apps/demod_hrpt_file.py | 6 +- 2 files changed, 81 insertions(+), 79 deletions(-) diff --git a/gr-noaa/apps/demod_hrpt_file.grc b/gr-noaa/apps/demod_hrpt_file.grc index 16f83f78..7a0bbe89 100644 --- a/gr-noaa/apps/demod_hrpt_file.grc +++ b/gr-noaa/apps/demod_hrpt_file.grc @@ -1,57 +1,6 @@ - Sun Sep 27 09:51:42 2009 - - options - - id - demod_hrpt_file - - - _enabled - True - - - title - USRP HRPT Receiver - - - author - - - - description - - - - window_size - 4096,4096 - - - generate_options - no_gui - - - category - Custom - - - run - True - - - realtime_scheduling - - - - _coordinate - (10, 10) - - - _rotation - 0 - - + Sun Oct 4 08:40:03 2009 variable @@ -190,29 +139,6 @@ 0 - - import - - id - import_0 - - - _enabled - True - - - import - import math - - - _coordinate - (9, 92) - - - _rotation - 0 - - parameter @@ -731,6 +657,84 @@ 0 + + import + + id + import_0 + + + _enabled + True + + + import + import math + + + _coordinate + (11, 111) + + + _rotation + 0 + + + + options + + id + demod_hrpt_file + + + _enabled + True + + + title + USRP HRPT Receiver + + + author + + + + description + + + + window_size + 4096,4096 + + + generate_options + no_gui + + + category + Custom + + + run_options + run + + + run + True + + + realtime_scheduling + + + + _coordinate + (10, 10) + + + _rotation + 0 + + deframer file_sink diff --git a/gr-noaa/apps/demod_hrpt_file.py b/gr-noaa/apps/demod_hrpt_file.py index 309a7920..d5535186 100755 --- a/gr-noaa/apps/demod_hrpt_file.py +++ b/gr-noaa/apps/demod_hrpt_file.py @@ -2,7 +2,7 @@ ################################################## # Gnuradio Python Flow Graph # Title: USRP HRPT Receiver -# Generated: Sun Sep 27 09:34:15 2009 +# Generated: Sun Oct 4 08:40:03 2009 ################################################## from gnuradio import eng_notation @@ -129,7 +129,5 @@ if __name__ == '__main__': help="Set sync_alpha [default=%default]") (options, args) = parser.parse_args() tb = demod_hrpt_file(filename=options.filename, output=options.output, decim=options.decim, pll_alpha=options.pll_alpha, sync_alpha=options.sync_alpha) - tb.start() - raw_input('Press Enter to quit: ') - tb.stop() + tb.run() -- 2.47.2