[Discuss-gnuradio] GNU Radio 3.7 installation issue
Dear Sir, I was using GNU Radio 3.6.5.1 previously but now try migrating to version 3.7.1. So I remove all existing installation, then start using the latest build-gnuradio script. This error comes out: Building extra module gr-baz -- The CXX compiler identification is GNU 4.7.2 -- The C compiler identification is GNU 4.7.2 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Build type not specified: defaulting to release. -- Boost version: 1.49.0 -- Found the following Boost libraries: -- system -- thread -- Found PkgConfig: /usr/bin/pkg-config (found version 0.26) -- checking for module 'gruel' -- package 'gruel' not found -- Could NOT find GRUEL (missing: GRUEL_LIBRARIES GRUEL_INCLUDE_DIRS) -- checking for module 'gnuradio-core' -- package 'gnuradio-core' not found -- Could NOT find GNURADIO_CORE (missing: GNURADIO_CORE_LIBRARIES GNURADIO_CORE_INCLUDE_DIRS) CMake Error at CMakeLists.txt:135 (message): Gruel required to compile baz I know in version 3.7 I need to remove all GRUEL_ references and replace GNURADIO_CORE variables with GNURADIO_RUNTIME_. But how to do that? It seems the build-gnuradio script starts from scratch and it automatically uninstall libgruel3.5.3.2 installed by me. Thanks in advance. Regards, activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] GNU Radio 3.7 installation issue
Dear Sir, Both gr-baz and grextras fail in compilation of gnuradio 3.7. It seems that we have no other choice but to ignore the compilation errors. But what are gr-baz and grextras being used for, and how this compilation error will affect the functionality of gnuradio 3.7 ? Regards, activecat On Tue, Oct 22, 2013 at 6:25 AM, Marcus D. Leech mle...@ripnet.com wrote: I don't think gr-baz has been converted to using 3.7 yet, so, the build of gr-baz will fail, but that's not fatal to the overall build process Marcus Leech Principal Investigator Shirleys Bay Radio Astronomy Consortiumhttp://www.sbrac.org ** Dear Sir, I was using GNU Radio 3.6.5.1 previously but now try migrating to version 3.7.1. So I remove all existing installation, then start using the latest build-gnuradio script. This error comes out: Building extra module gr-baz -- The CXX compiler identification is GNU 4.7.2 -- The C compiler identification is GNU 4.7.2 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Build type not specified: defaulting to release. -- Boost version: 1.49.0 -- Found the following Boost libraries: -- system -- thread -- Found PkgConfig: /usr/bin/pkg-config (found version 0.26) -- checking for module 'gruel' -- package 'gruel' not found -- Could NOT find GRUEL (missing: GRUEL_LIBRARIES GRUEL_INCLUDE_DIRS) -- checking for module 'gnuradio-core' -- package 'gnuradio-core' not found -- Could NOT find GNURADIO_CORE (missing: GNURADIO_CORE_LIBRARIES GNURADIO_CORE_INCLUDE_DIRS) CMake Error at CMakeLists.txt:135 (message): Gruel required to compile baz I know in version 3.7 I need to remove all GRUEL_ references and replace GNURADIO_CORE variables with GNURADIO_RUNTIME_. But how to do that? It seems the build-gnuradio script starts from scratch and it automatically uninstall libgruel3.5.3.2 installed by me. Thanks in advance. Regards, activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] cgran is weird
I was trying to install the 802.11b Receiver from https://cgran.org/wiki/SPAN80211b So I followed the instruction to download the source files using the svn as follows: svn co -r7596 http://gnuradio.org/svn/gnuradio/trunk gnuradio_r7596 It gave following message but no file was downloaded. $ svn co -r7596 http://gnuradio.org/svn/gnuradio/trunk gnuradio_r7596 svn: OPTIONS of 'http://gnuradio.org/svn/gnuradio/trunk': 200 OK ( http://gnuradio.org) Another attempt gave following error message: $ svn co -r7596 http://gnuradio.org/svn/gnuradio/trunk gnuradio_r7596 svn: OPTIONS of 'http://gnuradio.org/svn/gnuradio/trunk': could not connect to server (http://gnuradio.org) What was wrong? Has cgran been migrated to another location ..? Regards, activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] FTW IEEE802.11a/g/p OFDM Frame Encoder: How to run on gnuradio v3.6.5.1 ?
Dear Sir, How to make FTW work on gnuradio v3.6.5.1 ? In my research I need to setup a 802.11 MAC SDR. In the example published by Uwicore ( http://www.uwicore.umh.es/mhop-software.html) I have to install physical layer developed by FTW (https://www.cgran.org/wiki/ftw80211ofdmtx). Unfortunately the FTW part was written for gnuradio v3.2.2 while I am currently using gnuradio 3.6.5.1. In this case the installation of FTW halted with the following compilation error: /usr/local/include/gnuradio/swig/gnuradio.i:31: Error: Unable to find 'gruel_common.i' /usr/local/include/gnuradio/swig/gr_basic_block.i:26: Error: Unable to find 'pmt_swig.i' make[5]: *** [.deps/ftw-generate-stamp] Error 1 make[5]: Leaving directory `/home/sgku/download/ftw_80211_ofdm_tx/trunk/src/ftw' /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include/gnuradio -I/usr/local/include/gnuradio/swig -I/usr/include/python2.7 -I/usr/local/include/gnuradio -I/usr/local/include -g -O1 -Wno-strict-aliasing -Wno-parentheses -g -O2 -Wall -Woverloaded-virtual -MT _ftw_la-ftw.lo -MD -MP -MF .deps/_ftw_la-ftw.Tpo -c -o _ftw_la-ftw.lo `test -f 'ftw.cc' || echo './'`ftw.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include/gnuradio -I/usr/local/include/gnuradio/swig -I/usr/include/python2.7 -I/usr/local/include/gnuradio -I/usr/local/include -g -O1 -Wno-strict-aliasing -Wno-parentheses -g -O2 -Wall -Woverloaded-virtual -MT _ftw_la-ftw.lo -MD -MP -MF .deps/_ftw_la-ftw.Tpo -c ./ftw.cc -fPIC -DPIC -o .libs/_ftw_la-ftw.o g++: error: ./ftw.cc: No such file or directory g++: fatal error: no input files compilation terminated. make[4]: *** [_ftw_la-ftw.lo] Error 1 make[4]: Leaving directory `/home/sgku/download/ftw_80211_ofdm_tx/trunk/src/ftw' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/sgku/download/ftw_80211_ofdm_tx/trunk/src/ftw' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/sgku/download/ftw_80211_ofdm_tx/trunk/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/sgku/download/ftw_80211_ofdm_tx/trunk' make: *** [all] Error 2 Please advise, how to make FTW installed on gnuradio v3.6.5.1 ..? Thanks in advance. Regards, activecat Email: active...@gmail.com ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] gnuradio repository error
It timeouts even after few attempts. See below. $ git clone --progress http://gnuradio.org/git/gnuradio.git Cloning into 'gnuradio'... error: Unable to get pack file http://gnuradio.org/git/gnuradio.git/objects/pack/pack-d0093c65108e2594a080f6e3983dbe9402e10527.pack transfer closed with 10905917 bytes remaining to read error: Unable to find 6d7dd3f7609d9ec26acefdf040be0e8bb77a222c under http://gnuradio.org/git/gnuradio.git Cannot obtain needed object 6d7dd3f7609d9ec26acefdf040be0e8bb77a222c while processing commit 28c4eb3097ce4ac4bce8117c0d497853afca9a9c. error: Fetch failed. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] gr-ieee802-11 compilation error
Dear Sir, While compiling gr-ieee802-11 from https://github.com/bastibl/gr-ieee802-11, these errors were encountered: host@~/gr-ieee802-11/build $ make Scanning dependencies of target ieee802_11_generated_includes [ 3%] Generating moving_average_ff.h, moving_average_cc.h [ 3%] Built target ieee802_11_generated_includes [ 6%] Generating moving_average_cc_impl.cc, moving_average_ff_impl.cc [ 9%] Generating moving_average_cc_impl.h, moving_average_ff_impl.h Scanning dependencies of target gnuradio-ieee802_11 [ 12%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/moving_average_cc_impl.cc.o [ 15%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/moving_average_ff_impl.cc.o [ 18%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/ether_encap_impl.cc.o [ 21%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/ofdm_decode_mac.cc.o [ 24%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/ofdm_decode_signal.cc.o [ 27%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/ofdm_equalize_symbols.cc.o [ 30%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/ofdm_freq_est.cc.o [ 33%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/ofdm_mac.cc.o [ 36%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/ofdm_mapper.cc.o [ 39%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/ofdm_parse_mac.cc.o [ 42%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/ofdm_pilot.cc.o [ 45%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/ofdm_preamble.cc.o [ 48%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/ofdm_sync_long.cc.o [ 51%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/ofdm_sync_short.cc.o [ 54%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/utils.cc.o Linking CXX shared library libgnuradio-ieee802_11.so /usr/bin/ld: cannot find -llog4cpp /usr/bin/ld: cannot find -llog4cpp collect2: error: ld returned 1 exit status make[2]: *** [lib/libgnuradio-ieee802_11.so] Error 1 make[1]: *** [lib/CMakeFiles/gnuradio-ieee802_11.dir/all] Error 2 make: *** [all] Error 2 How to solve..? Thanks in advance. active...@gmail.com ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] gr-ieee802-11: Mostly broken flow graphs in examples
Dear Sirs, From the README file of https://github.com/bastibl/gr-ieee802-11, it mentions in the examples folder are several flowgraphs. But how come many of the flow graphs have errors: many ports are not connected. In this case I do not manage to run those examples. Please help.. Regards, activecat Email: active...@gmail.com ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] set_mux() not available in gnuradio version 3.7
Dear Sir, bool set_mux( int mux ); This command is supported by GNU Radio 3.4.2 C++ API but not GNU Radio 3.7. In this case, how to control the MUX using GNU Radio 3.7 C++ API ? http://gnuradio.org/doc/doxygen-3.4/classusrp__standard__rx.html http://gnuradio.org/doc/doxygen-3.4/classusrp__standard__rx.html#aa98b7831a644635f19ee84a7ecd404b2 Thanks. Regards, activecat Email: active...@gmail.com ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] set_mux() not available in gnuradio version 3.7
Yes, I mean, what is teh equivalent command in UHD API ..? How to control the MUX in the UHD API ? set_mux() On Tue, Dec 17, 2013 at 12:01 PM, Marcus D. Leech mle...@ripnet.com wrote: On 12/16/2013 10:52 PM, Activecat wrote: Dear Sir, bool set_mux( int mux ); This command is supported by GNU Radio 3.4.2 C++ API but not GNU Radio 3.7. In this case, how to control the MUX using GNU Radio 3.7 C++ API ? http://gnuradio.org/doc/doxygen-3.4/classusrp__standard__rx.html http://gnuradio.org/doc/doxygen-3.4/classusrp__standard__rx.html#aa98b7831a644635f19ee84a7ecd404b2 Thanks. Regards, activecat Email: active...@gmail.com ___ Discuss-gnuradio mailing listDiscuss-gnuradio@gnu.orghttps://lists.gnu.org/mailman/listinfo/discuss-gnuradio That's part of the classic interface to USRP devices, which has been deprecated for something like three years now. Whatever application you're using, you should update to the UHD API. ___ 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] set_mux() not available in gnuradio version 3.7
On Tue, Dec 17, 2013 at 12:01 PM, Marcus D. Leech mle...@ripnet.com wrote: On 12/16/2013 10:52 PM, Activecat wrote: Dear Sir, bool set_mux( int mux ); This command is supported by GNU Radio 3.4.2 C++ API but not GNU Radio 3.7. In this case, how to control the MUX using GNU Radio 3.7 C++ API ? http://gnuradio.org/doc/doxygen-3.4/classusrp__standard__rx.html http://gnuradio.org/doc/doxygen-3.4/classusrp__standard__rx.html#aa98b7831a644635f19ee84a7ecd404b2 Thanks. Regards, activecat Email: active...@gmail.com ___ Discuss-gnuradio mailing listDiscuss-gnuradio@gnu.orghttps://lists.gnu.org/mailman/listinfo/discuss-gnuradio That's part of the classic interface to USRP devices, which has been deprecated for something like three years now. Whatever application you're using, you should update to the UHD API. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio Dear Sir, Does UHD API only available in Python, not C++ ? Regards. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] IEEE 802.11 a
You may try your luck here: 1. https://www.cgran.org/wiki/BBN80211 but it runs on gnuradio version 3.1.1 2. MAC code by Uwicore lab http://www.uwicore.umh.es/ is unfortunately for gnuradio version 3.3 3. https://github.com/bastibl/gr-ieee802-11 runs on gnuradio 3.7 Let me know if you find more later. Thanks. On Mon, Dec 23, 2013 at 2:08 PM, Naveen Gupta naveen.e...@gmail.com wrote: I need to design IEEE802.11 a model in GNU radio platform. How should I start,* I am a beginner *of GNU radio. Anyone please tell me? ___ 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
[Discuss-gnuradio] undocumented SBX behavior
Dear Sir, I run this command with SBX daughterboard on N210: /usr/local/lib/uhd/examples/tx_waveforms --freq 500e6 --wave-type SINE --wave-freq 5e3 --rate 10e6 What is performed at the SBX, does it multiply (Frequency Modulation) the 5kHz SINE wave with the 500MHz carrier frequency ..? Thanks. Regards, activ...@gmail.com ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Asking help about gr-ieee802-11
Dear Sir, I am referring to the same problem in https://www.ruby-forum.com/topic/4487026 but I am using Debian 7.7 AMD64. I am facing exactly the same problem, as below: It said i should open /examples/wifi_phy_hier.grc in gnuradio-companion and build it but when i open it, one of the block (ID: header formatter) appear wrong. error messages: Param - Value(value): Value ieee802_11.wifi_signal_field() cannot be evaluated: name 'ieee802_11' is not defined Question: I am actually using the default prefix, which is /usr/local. How should I solve the problem then? Version info: sgku@mmu2: ~ $ echo $PYTHONPATH /usr/local/lib/python2.7/dist-packages sgku@mmu2: ~ $ uname -a Linux mmu2 3.2.0-4-686-pae #1 SMP Debian 3.2.63-2+deb7u1 i686 GNU/Linux sgku@mmu2: ~ $ cat /etc/debian_version 7.7 sgku@mmu2: ~ $ gnuradio-config-info -v 3.7.5.1 Regards, Activecat ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Asking help about gr-ieee802-11
Dear Sir, Thank you very much for your prompt response. I really appreciate your help. Refer below result: sgku@mmu2: ~ $ ipython Python 2.7.3 (default, Mar 14 2014, 11:57:14) Type copyright, credits or license for more information. IPython 0.13.1 -- An enhanced Interactive Python. ? - Introduction and overview of IPython's features. %quickref - Quick reference. help - Python's own help system. object? - Details about 'object', use 'object??' for extra details. In [1]: import ieee802_11 --- ImportError Traceback (most recent call last) ipython-input-1-3c375f221e3a in module() 1 import ieee802_11 /usr/local/lib/python2.7/dist-packages/ieee802_11/__init__.py in module() 35 36 # import swig generated symbols into the test namespace --- 37 from ieee802_11_swig import * 38 39 # import any pure python here /usr/local/lib/python2.7/dist-packages/ieee802_11/ieee802_11_swig.py in module() 24 fp.close() 25 return _mod --- 26 _ieee802_11_swig = swig_import_helper() 27 del swig_import_helper 28 else: /usr/local/lib/python2.7/dist-packages/ieee802_11/ieee802_11_swig.py in swig_import_helper() 20 if fp is not None: 21 try: --- 22 _mod = imp.load_module('_ieee802_11_swig', fp, pathname, description) 23 finally: 24 fp.close() ImportError: dynamic module does not define init function (init_ieee802_11_swig) On Thu, Jan 29, 2015 at 4:02 PM, Bastian Bloessl bloe...@ccs-labs.org wrote: Hi, On 29 Jan 2015, at 08:37, Activecat active...@gmail.com wrote: error messages: Param - Value(value): Value ieee802_11.wifi_signal_field() cannot be evaluated: name 'ieee802_11' is not defined Please start an interactive python session and ‘import ieee802_11’. This will give you more debug output. I guess either your $PYTHONPATH does not contain the path of the module or some shared library can not be loaded. Best, Bastian ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Asking help about gr-ieee802-11
Dear Bastian, Yes, this solves all the problems. I just get the current commit and recompile, everything works ! Thank you very much. On Thu, Jan 29, 2015 at 4:20 PM, Bastian Bloessl bloe...@ccs-labs.org wrote: Either python3 is selected by cmake or (maybe) your swig version does not work. The first problem should have been fixed with the most recent commit (3 days ago). On 29 Jan 2015, at 09:15, Activecat active...@gmail.com wrote: Dear Sir, Thank you very much for your prompt response. I really appreciate your help. Refer below result: sgku@mmu2: ~ $ ipython Python 2.7.3 (default, Mar 14 2014, 11:57:14) Type copyright, credits or license for more information. IPython 0.13.1 -- An enhanced Interactive Python. ? - Introduction and overview of IPython's features. %quickref - Quick reference. help - Python's own help system. object? - Details about 'object', use 'object??' for extra details. In [1]: import ieee802_11 --- ImportError Traceback (most recent call last) ipython-input-1-3c375f221e3a in module() 1 import ieee802_11 /usr/local/lib/python2.7/dist-packages/ieee802_11/__init__.py in module() 35 36 # import swig generated symbols into the test namespace --- 37 from ieee802_11_swig import * 38 39 # import any pure python here /usr/local/lib/python2.7/dist-packages/ieee802_11/ieee802_11_swig.py in module() 24 fp.close() 25 return _mod --- 26 _ieee802_11_swig = swig_import_helper() 27 del swig_import_helper 28 else: /usr/local/lib/python2.7/dist-packages/ieee802_11/ieee802_11_swig.py in swig_import_helper() 20 if fp is not None: 21 try: --- 22 _mod = imp.load_module('_ieee802_11_swig', fp, pathname, description) 23 finally: 24 fp.close() ImportError: dynamic module does not define init function (init_ieee802_11_swig) On Thu, Jan 29, 2015 at 4:02 PM, Bastian Bloessl bloe...@ccs-labs.org wrote: Hi, On 29 Jan 2015, at 08:37, Activecat active...@gmail.com wrote: error messages: Param - Value(value): Value ieee802_11.wifi_signal_field() cannot be evaluated: name 'ieee802_11' is not defined Please start an interactive python session and ‘import ieee802_11’. This will give you more debug output. I guess either your $PYTHONPATH does not contain the path of the module or some shared library can not be loaded. Best, Bastian -- Dipl.-Inform. Bastian Bloessl Distributed Embedded Systems Group University of Paderborn, Germany http://www.ccs-labs.org/~bloessl/ ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] PSD in dBm/Hz
Dear Sirs, Thanks for the answers. Let me further elaborate. I could get what I want using Matlab, via below steps: 1). Using GRC flowgraph, connect the USRP Source to a File Sink. 2). Copy the file (says, test02.dat) to a PC running Matlab. 3). Using Matlab, run these commands: a). c = read_complex_binary('test02.dat') b). figure; periodogram( c(1:10), [], [], 10e6 ) # samp_rate is 10e6 In this case I am able to get a PSD plot. The question is, how to produce the PSD plot using only gnuradio (without Matlab) ? Thank you very much. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] PSD in dBm/Hz
Dear Sir, I am using USRP to receive signal, and then plot the signal using WX GUI FFT Sink. I hope to get the vertical axis as Power Spectral Density in dBm/Hz. Is there any way to do that? Regards. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Failed to install gnuradio with PyBOMBS
Dear Sir, I have comment out the #include complex.h, but still has error, as below: [ 80%] Building CXX object gr-dtv/lib/CMakeFiles/gnuradio-dtv.dir/dvbt2/dvbt2_paprtr_cc_impl.cc.o [ 86%] Built target gnuradio-qtgui [ 86%] Built target fcd_nfm_rx [ 87%] Built target test_atsci [ 87%] Built target _atsc_swig [ 87%] Built target _qtgui_swig [ 88%] Built target gnuradio-channels [ 88%] Built target _channels_swig [ 92%] Built target gnuradio-digital [ 92%] Built target _digital_swig [ 98%] Built target gnuradio-trellis [ 98%] Built target _trellis_swig /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc: In member function ‘virtual int gr::dtv::dvbt2_paprtr_cc_impl::work(int, gr_vector_const_void_star, gr_vector_void_star)’: /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:770:102: error: ‘_Complex_I’ was not declared in this scope /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:771:37: error: ‘cexp’ was not declared in this scope /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:772:48: error: ‘creal’ was not declared in this scope /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:773:49: error: ‘cimag’ was not declared in this scope make[2]: *** [gr-dtv/lib/CMakeFiles/gnuradio-dtv.dir/dvbt2/dvbt2_paprtr_cc_impl.cc.o] Error 1 make[1]: *** [gr-dtv/lib/CMakeFiles/gnuradio-dtv.dir/all] Error 2 make: *** [all] Error 2 Build failed. See output above for error messages. The complete log is at https://github.com/activecat/gnuradio/blob/master/installation_log_003.txt Please advise, thanks. On Thu, Apr 2, 2015 at 9:49 AM, Ron Economos w...@comcast.net wrote: In your previous pull request, you deleted the line: #include complex.h in gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc This would directly fix the build issues reported by Activecat and Marcus Leech. Ron On 04/01/2015 06:34 PM, Michael Dickens wrote: I'm not sure my forthcoming pull request directly addresses these specific issues, but it does a bunch of others for C++11 compliance in std::complex -- whether or not you're using C++11; it's backward compatible with C++0x and earlier, and should be forward compatible as well. Before we address these specific issues, let's get my patches in place -- they remove all of the GCC extensions to std::complex, so they might have an impact on these issues. I should be able to do the PR tomorrow; still testing on various systems tonight. - MLD On Wed, Apr 1, 2015, at 09:24 PM, Johnathan Corgan wrote: I believe Michael Dickens will have a comprehensive fix for issues like this soon. ___ 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
[Discuss-gnuradio] Failed to install gnuradio with PyBOMBS
Dear Sir, Recently I failed to install GNU Radio using PyBOMBS. Error message: /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:750:95: error: ‘volk_32fc_s32fc_multiply_32fc’ was not declared in this scope /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:756:72: error: cannot convert ‘gr_complex* {aka std::complexfloat*}’ to ‘const int*’ in argument passing /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:780:71: error: ‘volk_32fc_x2_multiply_conjugate_32fc’ was not declared in this scope /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:785:62: error: cannot convert ‘gr_complex* {aka std::complexfloat*}’ to ‘const int*’ in argument passing make[2]: *** [gr-dtv/lib/CMakeFiles/gnuradio-dtv.dir/dvbt2/dvbt2_paprtr_cc_impl.cc.o] Error 1 make[1]: *** [gr-dtv/lib/CMakeFiles/gnuradio-dtv.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs Linking CXX executable fcd_nfm_rx [ 91%] Built target fcd_nfm_rx Linking CXX shared module _qtgui_swig.so [ 91%] Built target _qtgui_swig Linking CXX shared module _digital_swig.so [ 91%] Built target _digital_swig make: *** [all] Error 2 Build failed. See output above for error messages. The complete installation log is at https://github.com/activecat/gnuradio/blob/master/installation_log_001.txt I am using Debian 7.8 64bit. Further details of system info is at https://github.com/activecat/gnuradio/blob/master/system_info.txt Please advise me how to solve this installation error. Thank you very much. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Failed to install gnuradio with PyBOMBS
Dear Sir, Thanks, this solve the problems. The GNU Radio has been installed successfully using PyBOMBS. Thank you very much. On Thu, Apr 2, 2015 at 10:30 AM, Ron Economos w...@comcast.net wrote: The actual fix is a little more complicated. You can download a patched file from here: http://www.w6rz.net/dvbt2_paprtr_cc_impl.cc w6rz.net is my personal website. Ron On 04/01/2015 07:11 PM, Activecat wrote: Dear Sir, I have comment out the #include complex.h, but still has error, as below: [ 80%] Building CXX object gr-dtv/lib/CMakeFiles/gnuradio-dtv.dir/dvbt2/dvbt2_paprtr_cc_impl.cc.o [ 86%] Built target gnuradio-qtgui [ 86%] Built target fcd_nfm_rx [ 87%] Built target test_atsci [ 87%] Built target _atsc_swig [ 87%] Built target _qtgui_swig [ 88%] Built target gnuradio-channels [ 88%] Built target _channels_swig [ 92%] Built target gnuradio-digital [ 92%] Built target _digital_swig [ 98%] Built target gnuradio-trellis [ 98%] Built target _trellis_swig /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc: In member function ‘virtual int gr::dtv::dvbt2_paprtr_cc_impl::work(int, gr_vector_const_void_star, gr_vector_void_star)’: /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:770:102: error: ‘_Complex_I’ was not declared in this scope /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:771:37: error: ‘cexp’ was not declared in this scope /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:772:48: error: ‘creal’ was not declared in this scope /home/sgku/download/gnuradio/pybombs/src/gnuradio/gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc:773:49: error: ‘cimag’ was not declared in this scope make[2]: *** [gr-dtv/lib/CMakeFiles/gnuradio-dtv.dir/dvbt2/dvbt2_paprtr_cc_impl.cc.o] Error 1 make[1]: *** [gr-dtv/lib/CMakeFiles/gnuradio-dtv.dir/all] Error 2 make: *** [all] Error 2 Build failed. See output above for error messages. The complete log is at https://github.com/activecat/gnuradio/blob/master/installation_log_003.txt Please advise, thanks. On Thu, Apr 2, 2015 at 9:49 AM, Ron Economos w...@comcast.net wrote: In your previous pull request, you deleted the line: #include complex.h in gr-dtv/lib/dvbt2/dvbt2_paprtr_cc_impl.cc This would directly fix the build issues reported by Activecat and Marcus Leech. Ron On 04/01/2015 06:34 PM, Michael Dickens wrote: I'm not sure my forthcoming pull request directly addresses these specific issues, but it does a bunch of others for C++11 compliance in std::complex -- whether or not you're using C++11; it's backward compatible with C++0x and earlier, and should be forward compatible as well. Before we address these specific issues, let's get my patches in place -- they remove all of the GCC extensions to std::complex, so they might have an impact on these issues. I should be able to do the PR tomorrow; still testing on various systems tonight. - MLD On Wed, Apr 1, 2015, at 09:24 PM, Johnathan Corgan wrote: I believe Michael Dickens will have a comprehensive fix for issues like this soon. ___ 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 ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Asking help about gr-ieee802-11
Dear Bastian, I have just downloaded the latest gr-ieee802-11, recompiled and reinstalled. I am using the latest version of the flowgraph. Just that the gnuradio was the one installed at January 2015. Below is the debugging message. (gdb) run wifi_loopback.py Starting program: /usr/bin/python wifi_loopback.py [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/i386-linux-gnu/i686/cmov/libthread_db.so.1. linux; GNU C++ version 4.7.2; Boost_104900; UHD_003.008.001-121-gebe7169d [New Thread 0xaecc0b70 (LWP 4846)] [New Thread 0xad5c1b70 (LWP 4847)] Using Volk machine: avx_32_mmx_orc [New Thread 0xa668cb70 (LWP 4848)] OFDM MAPPER: encoding: 0 set_min_output_buffer on block 31 to 96000 set_min_output_buffer on block 33 to 96000 set_min_output_buffer on block 35 to 96000 set_min_output_buffer on block 36 to 96000 set_min_output_buffer on block 39 to 96000 set_min_output_buffer on block 50 to 96000 [New Thread 0xa397ab70 (LWP 4849)] [New Thread 0x95dd8b70 (LWP 4850)] [New Thread 0x955d7b70 (LWP 4851)] [New Thread 0x94dd6b70 (LWP 4852)] [New Thread 0x945d5b70 (LWP 4853)] [New Thread 0x93dd4b70 (LWP 4854)] [New Thread 0x935d3b70 (LWP 4855)] [New Thread 0x92dd2b70 (LWP 4856)] [New Thread 0x925d1b70 (LWP 4857)] [New Thread 0x91dd0b70 (LWP 4858)] [New Thread 0x915cfb70 (LWP 4859)] [New Thread 0x90dceb70 (LWP 4860)] [New Thread 0x905cdb70 (LWP 4861)] [New Thread 0x8fdccb70 (LWP 4862)] [New Thread 0x8f5cbb70 (LWP 4863)] [New Thread 0x8edcab70 (LWP 4864)] [New Thread 0x8e5c9b70 (LWP 4865)] [New Thread 0x8ddc8b70 (LWP 4866)] [New Thread 0x8d5c7b70 (LWP 4867)] [New Thread 0x8cdc6b70 (LWP 4868)] [New Thread 0x8c5c5b70 (LWP 4869)] [New Thread 0x8bdc4b70 (LWP 4870)] [New Thread 0x8b5c3b70 (LWP 4871)] [New Thread 0x8adc2b70 (LWP 4872)] [New Thread 0x8a5c1b70 (LWP 4873)] [New Thread 0x89dc0b70 (LWP 4874)] [New Thread 0x895bfb70 (LWP 4875)] [New Thread 0x88dbeb70 (LWP 4876)] [New Thread 0x885bdb70 (LWP 4877)] [New Thread 0x87dbcb70 (LWP 4878)] [New Thread 0x875bbb70 (LWP 4879)] [New Thread 0x86dbab70 (LWP 4880)] [New Thread 0x865b9b70 (LWP 4881)] [New Thread 0x85db8b70 (LWP 4882)] [New Thread 0x855b7b70 (LWP 4883)] [New Thread 0x84db6b70 (LWP 4884)] [New Thread 0x845b5b70 (LWP 4885)] [New Thread 0x83db4b70 (LWP 4886)] [New Thread 0x835b3b70 (LWP 4887)] [New Thread 0x82db2b70 (LWP 4888)] [New Thread 0x825b1b70 (LWP 4889)] [New Thread 0x81db0b70 (LWP 4890)] [New Thread 0x815afb70 (LWP 4891)] [New Thread 0x80daeb70 (LWP 4892)] [New Thread 0x805adb70 (LWP 4893)] [New Thread 0x7fdacb70 (LWP 4894)] [New Thread 0x7f5abb70 (LWP 4895)] [New Thread 0x7edaab70 (LWP 4896)] [New Thread 0x7e5a9b70 (LWP 4897)] [New Thread 0x7dda8b70 (LWP 4898)] [New Thread 0x7d5a7b70 (LWP 4899)] [New Thread 0x7cda6b70 (LWP 4900)] [New Thread 0x7c5a5b70 (LWP 4901)] [New Thread 0x7bda4b70 (LWP 4902)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x815afb70 (LWP 4891)] 0xb2fc302e in ofdm_decode_signal_impl::general_work(int, std::vectorint, std::allocatorint , std::vectorvoid const*, std::allocatorvoid const* , std::vectorvoid*, std::allocatorvoid* ) () from /usr/local/lib/libgnuradio-ieee802_11.so (gdb) On Thu, Apr 23, 2015 at 10:36 PM, Bastian Bloessl bloe...@ccs-labs.org wrote: Hi, I made quite some changes during the last days so it might well be the case that I introduced several bugs. Can you please double-check that you are not using the new flow graph with an old version of the module (maybe another copy is still installed somewhere). If the problem still exists then please start the flow graph in a debugger. (I guess it actually seg faults but you don't see it in GRC). You can use something like gdb python run wifi_loopback.py and then do a backtrace (bt). See also https://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsDebugging Best, Bastian On 04/23/2015 01:33 PM, Activecat wrote: Dear Sir, Today I helped my friend to setup the gr-ieee802-11. Everything go well until I try to execute the flowgraph of wifi_loopback.grc All ports in the GRC are connected. But when I run the wifi_loopback.grc, it stops immediately with below message. Generating: /home/sgku/download/zz-downloaded/gr-ieee802-11/examples/wifi_loopback.py Warning: This flow graph may not have flow control: no audio or RF hardware blocks found. Add a Misc-Throttle block to your flow graph to avoid CPU congestion. Executing: /home/sgku/download/zz-downloaded/gr-ieee802-11/examples/wifi_loopback.py linux; GNU C++ version 4.7.2; Boost_104900; UHD_003.008.001-121-gebe7169d Using Volk machine: avx_32_mmx_orc OFDM MAPPER: encoding: 0
Re: [Discuss-gnuradio] Asking help about gr-ieee802-11
Dear Sir, Today I helped my friend to setup the gr-ieee802-11. Everything go well until I try to execute the flowgraph of wifi_loopback.grc All ports in the GRC are connected. But when I run the wifi_loopback.grc, it stops immediately with below message. Generating: /home/sgku/download/zz-downloaded/gr-ieee802-11/examples/wifi_loopback.py Warning: This flow graph may not have flow control: no audio or RF hardware blocks found. Add a Misc-Throttle block to your flow graph to avoid CPU congestion. Executing: /home/sgku/download/zz-downloaded/gr-ieee802-11/examples/wifi_loopback.py linux; GNU C++ version 4.7.2; Boost_104900; UHD_003.008.001-121-gebe7169d Using Volk machine: avx_32_mmx_orc OFDM MAPPER: encoding: 0 set_min_output_buffer on block 31 to 96000 set_min_output_buffer on block 33 to 96000 set_min_output_buffer on block 35 to 96000 set_min_output_buffer on block 36 to 96000 set_min_output_buffer on block 39 to 96000 set_min_output_buffer on block 50 to 96000 Done Any clue of what had gone wrong? The flowgraph just doesn't execute. Below is my system info. $ cat /etc/debian_version 7.8 $ gcc --version gcc (Debian 4.7.2-5) 4.7.2 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ uname -a Linux sgku2 3.2.0-4-686-pae #1 SMP Debian 3.2.65-1+deb7u2 i686 GNU/Linux $ gnuradio-config-info -v 3.7.6.1 $ file /sbin/init /sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x6f99a4bee43009171bce9fa5457099aafaf2f753, stripped Thank you very much. On Thu, Jan 29, 2015 at 4:30 PM, Activecat active...@gmail.com wrote: Dear Bastian, Yes, this solves all the problems. I just get the current commit and recompile, everything works ! Thank you very much. On Thu, Jan 29, 2015 at 4:20 PM, Bastian Bloessl bloe...@ccs-labs.org wrote: Either python3 is selected by cmake or (maybe) your swig version does not work. The first problem should have been fixed with the most recent commit (3 days ago). On 29 Jan 2015, at 09:15, Activecat active...@gmail.com wrote: Dear Sir, Thank you very much for your prompt response. I really appreciate your help. Refer below result: sgku@mmu2: ~ $ ipython Python 2.7.3 (default, Mar 14 2014, 11:57:14) Type copyright, credits or license for more information. IPython 0.13.1 -- An enhanced Interactive Python. ? - Introduction and overview of IPython's features. %quickref - Quick reference. help - Python's own help system. object? - Details about 'object', use 'object??' for extra details. In [1]: import ieee802_11 --- ImportError Traceback (most recent call last) ipython-input-1-3c375f221e3a in module() 1 import ieee802_11 /usr/local/lib/python2.7/dist-packages/ieee802_11/__init__.py in module() 35 36 # import swig generated symbols into the test namespace --- 37 from ieee802_11_swig import * 38 39 # import any pure python here /usr/local/lib/python2.7/dist-packages/ieee802_11/ieee802_11_swig.py in module() 24 fp.close() 25 return _mod --- 26 _ieee802_11_swig = swig_import_helper() 27 del swig_import_helper 28 else: /usr/local/lib/python2.7/dist-packages/ieee802_11/ieee802_11_swig.py in swig_import_helper() 20 if fp is not None: 21 try: --- 22 _mod = imp.load_module('_ieee802_11_swig', fp, pathname, description) 23 finally: 24 fp.close() ImportError: dynamic module does not define init function (init_ieee802_11_swig) On Thu, Jan 29, 2015 at 4:02 PM, Bastian Bloessl bloe...@ccs-labs.org wrote: Hi, On 29 Jan 2015, at 08:37, Activecat active...@gmail.com wrote: error messages: Param - Value(value): Value ieee802_11.wifi_signal_field() cannot be evaluated: name 'ieee802_11' is not defined Please start an interactive python session and ‘import ieee802_11’. This will give you more debug output. I guess either your $PYTHONPATH does not contain the path of the module or some shared library can not be loaded. Best, Bastian -- Dipl.-Inform. Bastian Bloessl Distributed Embedded Systems Group University of Paderborn, Germany http://www.ccs-labs.org/~bloessl/ ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] X Window System error
Dear Sir, I've just install gnuradio using pybombs, and manually install the missing python-opengl using apt-get. Unfortunately below error occurs when I execute a flowgraph. Executing: /home/sgku/Dropbox/gnuradio/gr-activecat/examples/jitter/top_block.py Using Volk machine: avx_64_mmx The program 'python2' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 2351 error_code 8 request_code 70 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Please advise if you have a quick fix to this. My system and version info is available at [1]. Thank you very much. [1]. https://github.com/activecat/gnuradio/blob/master/system_info.txt ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] BasicRX daughtercard for Ham Radio
Dear Sir, Referring to [1], the correct daughtercard for HF Communications is LFRX and LFTX. As a Ham radio receiver, could BasicRX be used instead of LFRX? Regards, Activecat. [1]. http://www.ettus.com/content/files/kb/Selecting_an_RF_Daughterboard.pdf ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio