diff options
author | Josh Blum | 2010-05-18 11:51:31 -0700 |
---|---|---|
committer | Josh Blum | 2010-05-18 11:51:31 -0700 |
commit | 935b9713694359862fd5721a2cf070ac072ce283 (patch) | |
tree | fd3bd402090d689ae114cb5e2968332edb1e20e4 /gr-qtgui/src/python/qt_digital.py | |
parent | b6f86944737975efde1275144c1c344e4a633146 (diff) | |
parent | a39ca4f36cee81bb44f553c1a1d2045a29231e0b (diff) | |
download | gnuradio-935b9713694359862fd5721a2cf070ac072ce283.tar.gz gnuradio-935b9713694359862fd5721a2cf070ac072ce283.tar.bz2 gnuradio-935b9713694359862fd5721a2cf070ac072ce283.zip |
Merge branch 'master' of http://gnuradio.org/git/gnuradio into uhd
Diffstat (limited to 'gr-qtgui/src/python/qt_digital.py')
-rwxr-xr-x | gr-qtgui/src/python/qt_digital.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gr-qtgui/src/python/qt_digital.py b/gr-qtgui/src/python/qt_digital.py index ceb492c8d..679f144ef 100755 --- a/gr-qtgui/src/python/qt_digital.py +++ b/gr-qtgui/src/python/qt_digital.py @@ -139,7 +139,7 @@ class my_top_block(gr.top_block): self.qapp = QtGui.QApplication(sys.argv) - self._sample_rate = 200e3 + self._sample_rate = 2000e3 self.sps = 2 self.excess_bw = 0.35 @@ -182,11 +182,13 @@ class my_top_block(gr.top_block): self.to = 1.0 self.channel = gr.channel_model(noise, self.fo, self.to) - self.thr = gr.throttle(gr.sizeof_char, 10*fftsize) - self.snk_tx = qtgui.sink_c(fftsize, gr.firdes.WIN_BLACKMAN_hARRIS, 0, 1, + self.thr = gr.throttle(gr.sizeof_char, self._sample_rate) + self.snk_tx = qtgui.sink_c(fftsize, gr.firdes.WIN_BLACKMAN_hARRIS, + 0, self._sample_rate*self.sps, "Tx", True, True, False, True, True) - self.snk_rx = qtgui.sink_c(fftsize, gr.firdes.WIN_BLACKMAN_hARRIS, 0, 1, + self.snk_rx = qtgui.sink_c(fftsize, gr.firdes.WIN_BLACKMAN_hARRIS, + 0, self._sample_rate, "Rx", True, True, False, True, True) self.connect(self.src, self.thr, self.mod, self.channel, self.snk_tx) |