[Discuss-gnuradio] Spectrum Analyzer for UHD-USRP n210
Hello everybody I read that there is a simple spectrum analyzer in gnuradio. I looked into example folder. there is one for USRP-1 and another for USRP-2 but there is non for N210. therefor, I could not find an empty bandwidth in openBTS. is there any spectrum analyzer in gnuradio for n210 or is there any other alternative to solve this problem? thanks all Ahmad ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Spectrum Analyzer for UHD-USRP n210
On 05/11/11 07:12 AM, Ahmad wrote: Hello everybody I read that there is a simple spectrum analyzer in gnuradio. I looked into example folder. there is one for USRP-1 and another for USRP-2 but there is non for N210. therefor, I could not find an empty bandwidth in openBTS. is there any spectrum analyzer in gnuradio for n210 or is there any other alternative to solve this problem? thanks all Ahmad uhd_fft.py -- Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] make -j 8
On 11/04/2011 10:47 PM, Jeff Scaparra wrote: Not sure why this is but fails with -j 1 or -j 8. Alright, so the challenge seem to be: make the code that generates the swig c++ file depend on some generated files in another subdirectory (filter and gengen). Can you try the latest incarnation of my cmake_fixes branch? Also, whats your OS (and version of cmake) so I can replicate it too. Thanks, -Josh ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] make -j 8
Thanks for looking into this. results below :-/ still failing. scap@Jupiter:~/Radio/jblum$ git pull remote: Counting objects: 17, done. remote: Compressing objects: 100% (9/9), done. remote: Total 9 (delta 7), reused 0 (delta 0) Unpacking objects: 100% (9/9), done. From git://gnuradio.org/jblum 0b3a4a2..e506d68 cmake_fixes - origin/cmake_fixes Updating 0b3a4a2..e506d68 Fast-forward cmake/Modules/GrSwig.cmake| 12 +--- gr-trellis/src/lib/CMakeLists.txt | 10 -- 2 files changed, 9 insertions(+), 13 deletions(-) scap@Jupiter:~/Radio/jblum$ cd build/ scap@Jupiter:~/Radio/jblum/build$ make clean scap@Jupiter:~/Radio/jblum/build$ cmake ../ -- Build type not specified: defaulting to release. -- Extracting version information from version.sh... -- Extracting version information from git describe... -- -- The build system will automatically enable all components. -- Use -DENABLE_DEFAULT=OFF to disable components by default. -- -- Configuring python-support support... -- Dependency PYTHONLIBS_FOUND = TRUE -- Dependency SWIG_FOUND = TRUE -- Enabling python-support support. -- Override with -DENABLE_PYTHON=ON/OFF -- -- Configuring testing-support support... -- Dependency CPPUNIT_FOUND = TRUE -- Enabling testing-support support. -- Override with -DENABLE_TESTING=ON/OFF -- -- Configuring volk support... -- Enabling volk support. -- Override with -DENABLE_VOLK=ON/OFF -- Available arches: generic;64;3dnow;popcount;mmx;sse;sse2;orc;sse3;ssse3;sse4_a;sse4_1;sse4_2;avx -- Available machines: generic;sse2_only;sse2_64;sse3_64;ssse3_64;sse4_a_64;sse4_1_64;sse4_2_64;avx_64 -- checking for module 'orc-0.4 0.4.11' -- package 'orc-0.4 0.4.11' not found -- Did not find liborc and orcc, disabling orc support... -- Using install prefix: /usr/local -- -- Configuring gruel support... -- Dependency Boost_FOUND = TRUE -- Dependency PYTHONINTERP_FOUND = TRUE -- Enabling gruel support. -- Override with -DENABLE_GRUEL=ON/OFF -- -- Configuring gnuradio-core support... -- Dependency ENABLE_GRUEL = ON -- Dependency ENABLE_VOLK = ON -- Dependency Boost_FOUND = TRUE -- Dependency GSL_FOUND = 1 -- Dependency FFTW3F_FOUND = TRUE -- Dependency PYTHONINTERP_FOUND = TRUE -- Enabling gnuradio-core support. -- Override with -DENABLE_GR_CORE=ON/OFF -- Loading build date Sat, 05 Nov 2011 18:20:40 into gr_constants... -- Loading version 3.5.0rc0 into gr_constants... -- -- Python checking for python = 2.5 -- Python checking for python = 2.5 - found -- -- Python checking for Cheetah = 2.0.0 -- Python checking for Cheetah = 2.0.0 - found -- -- Python checking for lxml = 1.3.6 -- Python checking for lxml = 1.3.6 - found -- -- Python checking for pygtk = 2.10.0 -- Python checking for pygtk = 2.10.0 - found -- -- Python checking for numpy -- Python checking for numpy - found -- -- Configuring gnuradio-companion support... -- Dependency ENABLE_GR_CORE = ON -- Dependency ENABLE_PYTHON = ON -- Dependency PYTHON_MIN_VER_FOUND = TRUE -- Dependency CHEETAH_FOUND = TRUE -- Dependency LXML_FOUND = TRUE -- Dependency PYGTK_FOUND = TRUE -- Dependency NUMPY_FOUND = TRUE -- Enabling gnuradio-companion support. -- Override with -DENABLE_GRC=ON/OFF -- -- Configuring gr-atsc support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GR_CORE = ON -- Enabling gr-atsc support. -- Override with -DENABLE_GR_ATSC=ON/OFF -- -- Configuring gr-audio support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GR_CORE = ON -- Enabling gr-audio support. -- Override with -DENABLE_GR_AUDIO=ON/OFF -- Found ALSA 1.0.24.1 -- Found jack: /usr/lib/libjack.so -- checking for module 'portaudio-2.0' -- package 'portaudio-2.0' not found -- checking for module 'comedilib' -- package 'comedilib' not found -- -- Configuring gr-comedi support... -- Dependency COMEDI_FOUND = -- Dependency LINUX = TRUE -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GR_CORE = ON -- Disabling gr-comedi support. -- Override with -DENABLE_GR_COMEDI=ON/OFF -- -- Configuring gr-digital support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GR_CORE = ON -- Enabling gr-digital support. -- Override with -DENABLE_GR_DIGITAL=ON/OFF -- -- Configuring gr-noaa support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GR_CORE = ON -- Enabling gr-noaa support. -- Override with -DENABLE_GR_NOAA=ON/OFF -- -- Configuring gr-pager support... -- Dependency Boost_FOUND = TRUE -- Dependency ENABLE_GR_CORE = ON -- Enabling gr-pager support. -- Override with -DENABLE_GR_PAGER=ON/OFF -- -- Python checking for PyQt4 -- Python checking for PyQt4 - found -- -- Configuring gr-qtgui support... -- Dependency Boost_FOUND = TRUE -- Dependency QT4_FOUND = YES -- Dependency QWT_FOUND = TRUE -- Dependency ENABLE_GR_CORE = ON -- Dependency PYTHONLIBS_FOUND = TRUE --
[Discuss-gnuradio] (no subject)
please help me about this error: engrawais@ubuntu:~$ grc (grc:6141): Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap, (grc:6141): Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap, (grc:6141): Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap, (grc:6141): Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap, Welcome to GNU Radio Companion 3.2.2 Error: 'options' Failue Traceback (most recent call last): File /usr/lib/python2.7/dist-packages/gnuradio/grc/gui/MainWindow.py, line 174, in new_page flow_graph = self._platform.get_new_flow_graph() File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py, line 149, in get_new_flow_graph def get_new_flow_graph(self): return self.FlowGraph(self) File string, line 4, in __init__ File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py, line 37, in __init__ self.import_data() File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py, line 192, in import_data self._options_block = self.get_parent().get_new_block(self, 'options') File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py, line 159, in get_new_block def get_new_block(self, flow_graph, key): return self.Block(flow_graph, n=self._blocks_n[key]) File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/odict.py, line 34, in __getitem__ return self._data[key] KeyError: 'options' Error: 'options' Failue Traceback (most recent call last): File /usr/lib/python2.7/dist-packages/gnuradio/grc/gui/MainWindow.py, line 174, in new_page flow_graph = self._platform.get_new_flow_graph() File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py, line 149, in get_new_flow_graph def get_new_flow_graph(self): return self.FlowGraph(self) File string, line 4, in __init__ File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py, line 37, in __init__ self.import_data() File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py, line 192, in import_data self._options_block = self.get_parent().get_new_block(self, 'options') File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py, line 159, in get_new_block def get_new_block(self, flow_graph, key): return self.Block(flow_graph, n=self._blocks_n[key]) File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/odict.py, line 34, in __getitem__ return self._data[key] KeyError: 'options' Traceback (most recent call last): File /usr/bin/grc, line 53, in module ActionHandler(args, Platform()) File /usr/lib/python2.7/dist-packages/gnuradio/grc/gui/ActionHandler.py, line 70, in __init__ self.handle_states(Actions.APPLICATION_INITIALIZE) File /usr/lib/python2.7/dist-packages/gnuradio/grc/gui/ActionHandler.py, line 332, in handle_states Actions.get_action_from_name(Actions.ELEMENT_DELETE).set_sensitive(bool(self.get_flow_graph().get_selected_elements())) File /usr/lib/python2.7/dist-packages/gnuradio/grc/gui/MainWindow.py, line 281, in get_flow_graph return self.get_page().get_flow_graph() AttributeError: 'NoneType' object has no attribute 'get_flow_graph'___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] (no subject)
Did you forget to export pyhonpath? - Original Message - From: Muhammad JUNAID To: discuss-gnuradio@gnu.org Sent: Saturday, November 05, 2011 22:21 Subject: [Discuss-gnuradio] (no subject) please help me about this error: engrawais@ubuntu:~$ grc (grc:6141): Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap, (grc:6141): Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap, (grc:6141): Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap, (grc:6141): Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap, Welcome to GNU Radio Companion 3.2.2 Error: 'options' Failue Traceback (most recent call last): File /usr/lib/python2.7/dist-packages/gnuradio/grc/gui/MainWindow.py, line 174, in new_page flow_graph = self._platform.get_new_flow_graph() File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py, line 149, in get_new_flow_graph def get_new_flow_graph(self): return self.FlowGraph(self) File string, line 4, in __init__ File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py, line 37, in __init__ self.import_data() File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py, line 192, in import_data self._options_block = self.get_parent().get_new_block(self, 'options') File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py, line 159, in get_new_block def get_new_block(self, flow_graph, key): return self.Block(flow_graph, n=self._blocks_n[key]) File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/odict.py, line 34, in __getitem__ return self._data[key] KeyError: 'options' Error: 'options' Failue Traceback (most recent call last): File /usr/lib/python2.7/dist-packages/gnuradio/grc/gui/MainWindow.py, line 174, in new_page flow_graph = self._platform.get_new_flow_graph() File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py, line 149, in get_new_flow_graph def get_new_flow_graph(self): return self.FlowGraph(self) File string, line 4, in __init__ File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py, line 37, in __init__ self.import_data() File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py, line 192, in import_data self._options_block = self.get_parent().get_new_block(self, 'options') File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py, line 159, in get_new_block def get_new_block(self, flow_graph, key): return self.Block(flow_graph, n=self._blocks_n[key]) File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/odict.py, line 34, in __getitem__ return self._data[key] KeyError: 'options' Traceback (most recent call last): File /usr/bin/grc, line 53, in module ActionHandler(args, Platform()) File /usr/lib/python2.7/dist-packages/gnuradio/grc/gui/ActionHandler.py, line 70, in __init__ self.handle_states(Actions.APPLICATION_INITIALIZE) File /usr/lib/python2.7/dist-packages/gnuradio/grc/gui/ActionHandler.py, line 332, in handle_states Actions.get_action_from_name(Actions.ELEMENT_DELETE).set_sensitive(bool(self.get_flow_graph().get_selected_elements())) File /usr/lib/python2.7/dist-packages/gnuradio/grc/gui/MainWindow.py, line 281, in get_flow_graph return self.get_page().get_flow_graph() AttributeError: 'NoneType' object has no attribute 'get_flow_graph' -- ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] (no subject)
Oh look, someone already answered this: http://comments.gmane.org/gmane.comp.hardware.usrp.e100/1960 On 11/05/2011 01:21 PM, Muhammad JUNAID wrote: please help me about this error: engrawais@ubuntu:~$ grc (grc:6141): Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap, (grc:6141): Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap, (grc:6141): Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap, (grc:6141): Gtk-WARNING **: Unable to locate theme engine in module_path: pixmap, Welcome to GNU Radio Companion 3.2.2 Error: 'options' Failue Traceback (most recent call last): File /usr/lib/python2.7/dist-packages/gnuradio/grc/gui/MainWindow.py, line 174, in new_page flow_graph = self._platform.get_new_flow_graph() File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py, line 149, in get_new_flow_graph def get_new_flow_graph(self): return self.FlowGraph(self) File string, line 4, in __init__ File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py, line 37, in __init__ self.import_data() File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py, line 192, in import_data self._options_block = self.get_parent().get_new_block(self, 'options') File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py, line 159, in get_new_block def get_new_block(self, flow_graph, key): return self.Block(flow_graph, n=self._blocks_n[key]) File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/odict.py, line 34, in __getitem__ return self._data[key] KeyError: 'options' Error: 'options' Failue Traceback (most recent call last): File /usr/lib/python2.7/dist-packages/gnuradio/grc/gui/MainWindow.py, line 174, in new_page flow_graph = self._platform.get_new_flow_graph() File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py, line 149, in get_new_flow_graph def get_new_flow_graph(self): return self.FlowGraph(self) File string, line 4, in __init__ File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py, line 37, in __init__ self.import_data() File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/FlowGraph.py, line 192, in import_data self._options_block = self.get_parent().get_new_block(self, 'options') File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/Platform.py, line 159, in get_new_block def get_new_block(self, flow_graph, key): return self.Block(flow_graph, n=self._blocks_n[key]) File /usr/lib/python2.7/dist-packages/gnuradio/grc/base/odict.py, line 34, in __getitem__ return self._data[key] KeyError: 'options' Traceback (most recent call last): File /usr/bin/grc, line 53, in module ActionHandler(args, Platform()) File /usr/lib/python2.7/dist-packages/gnuradio/grc/gui/ActionHandler.py, line 70, in __init__ self.handle_states(Actions.APPLICATION_INITIALIZE) File /usr/lib/python2.7/dist-packages/gnuradio/grc/gui/ActionHandler.py, line 332, in handle_states Actions.get_action_from_name(Actions.ELEMENT_DELETE).set_sensitive(bool(self.get_flow_graph().get_selected_elements())) File /usr/lib/python2.7/dist-packages/gnuradio/grc/gui/MainWindow.py, line 281, in get_flow_graph return self.get_page().get_flow_graph() AttributeError: 'NoneType' object has no attribute 'get_flow_graph' ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] make -j 8
Alright, 3rd attempt is the charm. I also tried it on my 11.04 as well. http://gnuradio.org/cgit/jblum.git/log/?h=cmake_fixes -josh ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] (no subject)
On 11/05/2011 01:21 PM, Muhammad JUNAID wrote: please help me about this error: Basically your gnuradio installation is broken. Since you also have a pretty old version. I recommend cleaning your system of the old gnuradio and upgrading to something recent. GR has a 3.5 release candidate out now. -Josh ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] make -j 8
Ok we build now! :) However when I run make test I am failing qa_qtgui. This has never happend before what is the best way to debug. --Jeff On Sat, Nov 5, 2011 at 4:56 PM, Josh Blum j...@ettus.com wrote: Alright, 3rd attempt is the charm. I also tried it on my 11.04 as well. http://gnuradio.org/cgit/jblum.git/log/?h=cmake_fixes -josh ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] make -j 8
On 11/05/2011 04:46 PM, Jeff Scaparra wrote: Ok we build now! :) excellent However when I run make test I am failing qa_qtgui. This has never happend before what is the best way to debug. I have known it to fail when an xserver is not available. You can manually run the test like so, see what it prints: builddir/gr-qtgui/python/qa_qtgui_test.sh -josh ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio