summaryrefslogtreecommitdiff
path: root/gr-radio-astronomy/src/python/ra_stripchartsink.py
diff options
context:
space:
mode:
authormleech2007-12-23 02:02:48 +0000
committermleech2007-12-23 02:02:48 +0000
commitd67725d6ae32ead4c87545caec6d79ea59d6608f (patch)
tree3c92f27b3cd27fb8f7b3f312f82ce7b575e2911e /gr-radio-astronomy/src/python/ra_stripchartsink.py
parenta8a4bf2003912f67a6a796de100c19a049b6d34e (diff)
downloadgnuradio-d67725d6ae32ead4c87545caec6d79ea59d6608f.tar.gz
gnuradio-d67725d6ae32ead4c87545caec6d79ea59d6608f.tar.bz2
gnuradio-d67725d6ae32ead4c87545caec6d79ea59d6608f.zip
Fixed io_signature errors caused by whole new block structure.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7242 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-radio-astronomy/src/python/ra_stripchartsink.py')
-rwxr-xr-xgr-radio-astronomy/src/python/ra_stripchartsink.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/gr-radio-astronomy/src/python/ra_stripchartsink.py b/gr-radio-astronomy/src/python/ra_stripchartsink.py
index 5e6d5b393..76988f8f0 100755
--- a/gr-radio-astronomy/src/python/ra_stripchartsink.py
+++ b/gr-radio-astronomy/src/python/ra_stripchartsink.py
@@ -75,9 +75,15 @@ class stripchart_sink_f(gr.hier_block2, stripchart_sink_base):
ylabel="Y", divbase=0.025,
parallel=False, scaling=1.0, autoscale=False):
- gr.hier_block2.__init__(self, "stripchart_sink_f",
+ if parallel == False:
+ gr.hier_block2.__init__(self, "stripchart_sink_f",
gr.io_signature(1, 1, gr.sizeof_float),
gr.io_signature(0, 0, 0))
+ else:
+ gr.hier_block2.__init__(self, "stripchart_sink_f",
+ gr.io_signature(1, 1, gr.sizeof_float*stripsize),
+ gr.io_signature(0, 0, 0))
+
stripchart_sink_base.__init__(self, input_is_real=True,
y_per_div=y_per_div, ref_level=ref_level,