summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,