diff options
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r-- | gnuradio-core/src/python/gnuradio/gr/top_block.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnuradio-core/src/python/gnuradio/gr/top_block.py b/gnuradio-core/src/python/gnuradio/gr/top_block.py index 1e36d3b48..f2d83893c 100644 --- a/gnuradio-core/src/python/gnuradio/gr/top_block.py +++ b/gnuradio-core/src/python/gnuradio/gr/top_block.py @@ -93,14 +93,14 @@ class top_block(object): raise RuntimeError("top_block: invalid state--did you forget to call gr.top_block.__init__ in a derived class?") return getattr(self._tb, name) - def start(self): - self._tb.start() + def start(self, max_noutput_items=100000): + self._tb.start(max_noutput_items) def stop(self): self._tb.stop() - def run(self): - self.start() + def run(self, max_noutput_items=100000): + self.start(max_noutput_items) self.wait() def wait(self): |