discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] wx-scope


From: Michael Hartje
Subject: [Discuss-gnuradio] wx-scope
Date: Sun, 5 Nov 2017 20:57:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

dear list,

after installing the new Gnuradio-Companion  there is no function in
wx-scope (qt-scope works)

GNU Radio Companion 3.7.12git-295-ga0adcd33 (installed via pybombs)
pybombs version 2.3.2
ubuntu 16.04.3 LTS

Python 2.7 and 3.5 (standard -- calling python -- is 2.7)

GRC-Example:

a simple tone generator ,throttle and wx scope sink

--> does not work:

I got repetitive error lines until stopping the running
tone-example-program:

Starting the program shows:

Generating: '/home/hartje/Dokumente/sdr/grc/tone_simple.py'

Executing: /usr/bin/python2 -u /home/hartje/Dokumente/sdr/grc/tone_simple.py

and then the repeated line

--------

ValueError: The truth value of an array with more than one element is
ambiguous. Use a.any() or a.all()
Traceback (most recent call last):
  File
"/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/scopesink_nongl.py",
line 533, in format_data
    self.Draw(graphics, xAxis=x_range, yAxis=self.y_range)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/plot.py",
line 903, in Draw
    self._drawLegend(dc,graphics,rhsW,topH,legendBoxWH, legendSymExt,
legendTextExt)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/plot.py",
line 1206, in _drawLegend
    o.draw(dc, self.printerScale, coord= _numpy.array([pnt1,pnt2]))
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/plot.py",
line 211, in draw
    if coord == None:
ValueError: The truth value of an array with more than one element is
ambiguous. Use a.any() or a.all()

---------------

the wx fft-plot works without any problems, wx-Instrumentation works as
expected

How can I get wx-scope to work properly?

former (older) installations of GRC do work as expected (scope)

Any help appreciated

Thanks in advance

Michael Hartje
-- 
Prof. Dr.-Ing. Michael Hartje 
Labor Hochspannungstechnik / Labor elektrische Messtechnik
Neustadtswall 30;
D-28199 Bremen
Tel +49 421 5905-3444 FAX +49 421 5905-3476




reply via email to

[Prev in Thread] Current Thread [Next in Thread]