summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2015-02-22 11:57:01 -0500
committerTom Rondeau <tom@trondeau.com>2015-04-02 15:38:56 -0700
commit490fe7fb527f629f6ba8fb804f33a51822e3b8ae (patch)
treeae50be2134d7fb3c2294ebedd17f248c63d2f865 /gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py
parentf2e8dd82b5436a344dadc0faeb1f3aaec18e0e09 (diff)
controlport: cleanup and switching over to new Python common interface.
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py')
-rw-r--r--gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py b/gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py
index 661705d613..243cc822f7 100644
--- a/gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py
+++ b/gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py
@@ -442,7 +442,8 @@ class GrDataPlotterValueTable:
units = str(knobprops[itemKey].units)
descr = str(knobprops[itemKey].description)
- if(type(v) == GNURadio.complex):
+ # TODO: FIX COMPLEX
+ if False: #if(type(v) == GNURadio.complex):
v = v.re + v.im*1j
# If it's a byte stream, Python thinks it's a string.
# Unpack and convert to floats for plotting.
@@ -468,7 +469,8 @@ class GrDataPlotterValueTable:
for k in knobs.keys():
if k not in foundKeys:
v = knobs[k].value
- if(type(v) == GNURadio.complex):
+ # TODO: Fix Handle of Complex
+ if False: #if(type(v) == GNURadio.complex):
v = v.re + v.im*1j
# If it's a byte stream, Python thinks it's a string.
# Unpack and convert to floats for plotting.