diff options
author | Tom Rondeau | 2011-08-09 22:18:19 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-08-09 22:18:19 -0400 |
commit | aed7404ad43d5e0c5dd2c79a7d205ea6748cff28 (patch) | |
tree | 6d523fefdc15570b3966535ab352933b705d84b1 /gr-digital/examples/benchmark_rx.py | |
parent | 61db1684fdda602d18134b2e8c510bb7e33245fc (diff) | |
download | gnuradio-aed7404ad43d5e0c5dd2c79a7d205ea6748cff28.tar.gz gnuradio-aed7404ad43d5e0c5dd2c79a7d205ea6748cff28.tar.bz2 gnuradio-aed7404ad43d5e0c5dd2c79a7d205ea6748cff28.zip |
digital: fixing up receiver code. Almost there...
Diffstat (limited to 'gr-digital/examples/benchmark_rx.py')
-rwxr-xr-x | gr-digital/examples/benchmark_rx.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gr-digital/examples/benchmark_rx.py b/gr-digital/examples/benchmark_rx.py index 9d8734e3d..9390540dd 100755 --- a/gr-digital/examples/benchmark_rx.py +++ b/gr-digital/examples/benchmark_rx.py @@ -48,11 +48,14 @@ class my_top_block(gr.top_block): self.rxpath = receive_path(demodulator, rx_callback, options) if(options.from_file is not None): + self.thr = gr.throttle(gr.sizeof_gr_complex, 1e6) self.source = gr.file_source(gr.sizeof_gr_complex, options.from_file) + self.connect(self.source, self.thr, self.rxpath) else: + self.thr = gr.throttle(gr.sizeof_gr_complex, 1e6) self.source = gr.null_source(gr.sizeof_gr_complex) + self.connect(self.source, self.thr, self.rxpath) - self.connect(self.source, self.rxpath) # ///////////////////////////////////////////////////////////////////////////// # main |