diff options
-rw-r--r-- | gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py | 4 | ||||
-rwxr-xr-x | gnuradio-runtime/python/gnuradio/ctrlport/gr-ctrlport-monitor | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py b/gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py index 44bfce5358..78b83c2411 100644 --- a/gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py +++ b/gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py @@ -447,7 +447,7 @@ class GrDataPlotterValueTable: # If it's a byte stream, Python thinks it's a string. # Unpack and convert to floats for plotting. # Ignore the edge list knob if it's being exported - elif(type(v) == str and itemKey.find('edge list') == -1): + elif(type(v) == str and itemKey.find('probe2_b') == 0): v = struct.unpack(len(v)*'b', v) # Convert the final value to a string for displaying @@ -473,7 +473,7 @@ class GrDataPlotterValueTable: # If it's a byte stream, Python thinks it's a string. # Unpack and convert to floats for plotting. # Ignore the edge list knob if it's being exported - elif(type(v) == str and k.find('edge list') == -1): + elif(type(v) == str and k.find('probe2_b') == 0): v = struct.unpack(len(v)*'b', v) item = QtGui.QTreeWidgetItem([k, str(v), diff --git a/gnuradio-runtime/python/gnuradio/ctrlport/gr-ctrlport-monitor b/gnuradio-runtime/python/gnuradio/ctrlport/gr-ctrlport-monitor index 5f23a3d5c4..b087ad5c71 100755 --- a/gnuradio-runtime/python/gnuradio/ctrlport/gr-ctrlport-monitor +++ b/gnuradio-runtime/python/gnuradio/ctrlport/gr-ctrlport-monitor @@ -310,7 +310,7 @@ class MAINWindow(QtGui.QMainWindow): # If it's a byte stream, Python thinks it's a string. # Unpack and convert to floats for plotting. - if(type(d) == str): + if(type(d) == str and n.find('probe2_b') == 0): d = struct.unpack(len(d)*'b', d) d = [float(di) for di in d] |