From aed7404ad43d5e0c5dd2c79a7d205ea6748cff28 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Tue, 9 Aug 2011 22:18:19 -0400 Subject: digital: fixing up receiver code. Almost there... --- gr-digital/examples/benchmark_rx.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gr-digital/examples/benchmark_rx.py') 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 -- cgit