Forum: GNU Radio new Qt blocks and other helpful blocks

332b0ca9b755cd32b745eaf01c0c72e0?d=identicon&s=25 Johannes Demel (Guest)
on 2013-12-18 19:12
(Received via mailing list)
Hi everybody,

some time ago I stumbled over the problem that I missed a Qt version of
some blocks. In particular I wanted to have a Qt numbersink and a
Compass.
Thus, I created them [1] with Qt designer and integrated them into a GR
block. For now, they use Python. There are '.ui' files that have to be
used
to generate the '.py' files manually with pyuic4. Then they should
install
along with the other blocks.
Along with the Qt blocks I converted one of the gr-specest blocks 'DOA
MUSIC' to the GR 3.7 API. The code I used for this is from Balint
Seeber's
gr-baz.
Also I wanted to have a Qt version of uhd_fft. But I didn't want to add
code to the generated .py file. This lead to the creation of a 'Catch
Function Result' block. It is a pure xml block which calls another
blocks
member function and stores the result into its own variable. I didn't
want
to use 'Function Probe' because I don't want to spawn a new thread which
constantly calls a function.

For those of you who are eager to try those blocks. The uhd_fft_qt
flowgraph can be found in the projects examples folder.

In the hope that those blocks are helpful for others.
Johannes

[1] https://github.com/jdemel/gr-misc
7c4cfb6261c96c7f14bb17c53578634e?d=identicon&s=25 Liver P. (liver_p)
on 2013-12-19 11:01
Johannes

Just tried installing your helpful QT blocks. When I try the run
qt_block_test.grc I get the following error;

 File "/usr/local/lib/python2.7/dist-packages/misc/missile_launcher.py",
line 28, in <module>
    import usb.core
ImportError: No module named core

I have got python-usb (0.4.3-1) installed. Any idea what may be wrong?

Linux Mint 16
GNURADIO 3.7.2

Regards

Eddie
This topic is locked and can not be replied to.