diff options
author | Tom Rondeau | 2011-10-12 22:13:45 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-10-12 22:13:45 -0400 |
commit | d47f0aeab7343fb033352e2ddb787c1dc95d660d (patch) | |
tree | 9351bf61345678e84d16092124d769727ed374d8 /gr-digital/examples/narrowband | |
parent | 60b3bd32aa145522a1eaf9978e594ed13b9a6bc5 (diff) | |
download | gnuradio-d47f0aeab7343fb033352e2ddb787c1dc95d660d.tar.gz gnuradio-d47f0aeab7343fb033352e2ddb787c1dc95d660d.tar.bz2 gnuradio-d47f0aeab7343fb033352e2ddb787c1dc95d660d.zip |
digital: sneaking in a fix to cpm.py here. Working with benchmark_tx. Also adding some print statements to benchmark script to indicate what type of source/sink is being used.
Diffstat (limited to 'gr-digital/examples/narrowband')
-rwxr-xr-x | gr-digital/examples/narrowband/benchmark_rx.py | 2 | ||||
-rwxr-xr-x | gr-digital/examples/narrowband/benchmark_tx.py | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gr-digital/examples/narrowband/benchmark_rx.py b/gr-digital/examples/narrowband/benchmark_rx.py index a8a2e92c4..143948194 100755 --- a/gr-digital/examples/narrowband/benchmark_rx.py +++ b/gr-digital/examples/narrowband/benchmark_rx.py @@ -51,8 +51,10 @@ class my_top_block(gr.top_block): options.samples_per_symbol = self.source._sps elif(options.from_file is not None): + sys.stderr.write(("Reading samples from '%s'.\n\n" % (options.from_file))) self.source = gr.file_source(gr.sizeof_gr_complex, options.from_file) else: + sys.stderr.write("No source defined, pulling samples from null source.\n\n") self.source = gr.null_source(gr.sizeof_gr_complex) # Set up receive path diff --git a/gr-digital/examples/narrowband/benchmark_tx.py b/gr-digital/examples/narrowband/benchmark_tx.py index 39b0066f4..6f1d75281 100755 --- a/gr-digital/examples/narrowband/benchmark_tx.py +++ b/gr-digital/examples/narrowband/benchmark_tx.py @@ -50,8 +50,10 @@ class my_top_block(gr.top_block): options.samples_per_symbol = self.sink._sps elif(options.to_file is not None): + sys.stderr.write(("Saving samples to '%s'.\n\n" % (options.to_file))) self.sink = gr.file_sink(gr.sizeof_gr_complex, options.to_file) else: + sys.stderr.write("No sink defined, dumping samples to null sink.\n\n") self.sink = gr.null_sink(gr.sizeof_gr_complex) # do this after for any adjustments to the options that may |