summaryrefslogtreecommitdiff
path: root/gr-wxgui/python/histosink_gl.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-02-24 19:44:25 -0500
committerTom Rondeau <trondeau@vt.edu>2013-02-24 19:44:25 -0500
commitd858f1402b4fb4e302d0b488eec0e4628b62296d (patch)
tree18f07dbb6c7731089a9c59449559f53b94a81001 /gr-wxgui/python/histosink_gl.py
parent6f8b8e99eb10d8e282232275553a368dc19b1c65 (diff)
blocks: removing throttle, threshold, stretch from gnuradio-core.
Diffstat (limited to 'gr-wxgui/python/histosink_gl.py')
-rw-r--r--gr-wxgui/python/histosink_gl.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-wxgui/python/histosink_gl.py b/gr-wxgui/python/histosink_gl.py
index 8d90204046..6fa7539aa7 100644
--- a/gr-wxgui/python/histosink_gl.py
+++ b/gr-wxgui/python/histosink_gl.py
@@ -26,6 +26,7 @@ import histo_window
import common
from gnuradio import gr
from gnuradio import analog
+from gnuradio import blocks
from pubsub import pubsub
from constants import *
@@ -97,7 +98,7 @@ class test_app_block (stdgui2.std_top_block):
src2 = analog.sig_source_f(input_rate, analog.GR_SIN_WAVE, 2e3, 1)
#src2 = analog.sig_source_f(input_rate, analog.GR_CONST_WAVE, 5.75e3, 1)
- thr2 = gr.throttle(gr.sizeof_float, input_rate)
+ thr2 = blocks.throttle(gr.sizeof_float, input_rate)
sink2 = histo_sink_f(panel, title="Data", num_bins=31, frame_size=1000)
vbox.Add(sink2.win, 1, wx.EXPAND)