I was wondering if there was any way to use WX GUI Widgets, such as the
scope and fft plot, in a C++ flowgraph? Are any examples or other
resources available? I have been designing these flowgraphs based on the
dial tone example. Thanks ahead of time!
I was wondering if there was any way to use WX GUI Widgets, such as the
scope and fft plot, in a C++ flowgraph? Are any examples or other
resources available? I have been designing these flowgraphs based on the
dial tone example. Thanks ahead of time!
The existing WX widgets and windows in gnuradio are exclusively python.
You would have to involve python in your application to use them.
Now, the QTGui widgets, those are written and can be used in C++
Josh,
Thanks for the reply. The QT Gui Time Sink sounds like it might be
similar to the scope and the Sink sounds like it might be an fft, but I
can’t seem to get them to run in GRC. I am receiving the error below. It
looks like these blocks make a call to top layout which doesn’t exist? I
built gnuradio using the build-gnuradio script on the 25th of last
month.
-Dan
Time Sink
Traceback (most recent call last):
File “top_block.py”, line 59, in
tb = top_block()
File “top_block.py”, line 41, in init
self.top_layout.addWidget(self._qtgui_time_sink_x_0_win)
File “top_block.py”, line 94, in getattr
return getattr(self._tb, name)
AttributeError: ‘gr_top_block_sptr’ object has no attribute ‘top_layout’
Sink
Traceback (most recent call last):
File “top_block.py”, line 67, in
tb = top_block()
File “top_block.py”, line 46, in init
self.top_layout.addWidget(self._qtgui_sink_x_0_win)
File “top_block.py”, line 94, in getattr
AttributeError: ‘gr_top_block_sptr’ object has no attribute ‘top_layout’
return getattr(self._tb, name)
Josh,
Thanks for the reply. The QT Gui Time Sink sounds like it might be
similar to the scope and the Sink sounds like it might be an fft, but I
can’t seem to get them to run in GRC. I am receiving the error below. It
looks like these blocks make a call to top layout which doesn’t exist? I
built gnuradio using the build-gnuradio script on the 25th of last month.
Try changing the options block to qt gui. -josh
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.