Re: [Discuss-gnuradio] problem running uhd_fft.py
Hi, Just to be clear and to complete the previous answers. It happens to me the same problem, i.e., the fft GUI is blocked (shadowed in grey color and not responsive). In my case, the problem occurs when pressing the "Peak Hold value" when using a Q6600 @ 2.40GHz with 4 GB RAM and NVIDIA GeForce 7300 SE/7200 GS. I checked it with UN210 and USRP1. Also, under a slower computer (core duo and 2 gb ram) the problem is increased. However, in both cases the CPU use is not at 100 %. If i execute this command line the problem seems to dissapear (checked in the faster computer and with XCRV daughterboard). uhd_fft.py -s 1M --fft-rate 15 -f 2.4123G --averaging Hope it helps, PS: i have installed the latest UHD version from the master branch. --M ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] RX->TX Switching delay on XCVR2400?
I found something on the mailinglist that there might also be SEND_MODE_ONE_PACKET function beside the SEND_MODE_FULL_BUFF but actually it affects nothing as I replace it in the gr_uhd_usrp_sink.cc (after recompling etc.). In another thread it was mentioned that the transmitting buffer is not transmitted until it is full which is being done until the timeout time is elapsed. Does anybody have an idea how the waiting time could be skipped or this ONE_PACKET mode could be set up correctly? ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Working with dbpsk module.
Hey guys, Although outdated and removed from the digital-folder, I am currently working with the dbpsk module for one of my projects. I came across this error and kindly request anybody out there to help me out with the same. The error message that i received is as follows, ValueError : itemsize mismatch : dbpsk_demod(4):0 using 1, sub_ff(14):0 using 4. Thanks and Regards, Anay. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] uhd source install gentoo
i am trying to do a install of the UHD lib/drivers on gentoo. the cmake program returns the following. david@localhost ~/uhd/host/build $ cmake ../ -- -- Configuring the python interpreter... -- Python interpreter: /usr/bin/python2.6 -- Override with: -DPYTHON_EXECUTABLE= -- Build type not specified: defaulting to release. -- -- Configuring Boost C++ Libraries... -- Boost include directories: /usr/include -- Boost library directories: /usr/lib -- Boost libraries: /usr/lib/libboost_date_time-mt.so;/usr/lib/libboost_filesystem-mt.so;/usr/lib/libboost_program_options-mt.so;/usr/lib/libboost_regex-mt.so;/usr/lib/libboost_system-mt.so;/usr/lib/libboost_thread-mt.so;/usr/lib/libboost_unit_test_framework-mt.so -- -- Python checking for Python version 2.6 or greater -- Python checking for Python version 2.6 or greater - unknown error -- -- Python checking for Cheetah templates 2.0.0 or greater -- Python checking for Cheetah templates 2.0.0 or greater - unknown error -- -- Configuring LibUHD support... -- Dependency Boost_FOUND = TRUE -- Dependency HAVE_PYTHON_PLAT_MIN_VERSION = FALSE -- Dependency HAVE_PYTHON_MODULE_CHEETAH = FALSE -- Disabling LibUHD support. -- Override with -DENABLE_LIBUHD=ON/OFF -- -- Configuring Examples support... -- Dependency ENABLE_LIBUHD = OFF -- Disabling Examples support. -- Override with -DENABLE_EXAMPLES=ON/OFF -- -- Configuring Utils support... -- Dependency ENABLE_LIBUHD = OFF -- Disabling Utils support. -- Override with -DENABLE_UTILS=ON/OFF -- -- Configuring Tests support... -- Dependency ENABLE_LIBUHD = OFF -- Disabling Tests support. -- Override with -DENABLE_TESTS=ON/OFF -- -- Could NOT find Docutils (missing: RST2HTML_EXECUTABLE) -- -- Configuring Manual support... -- Dependency DOCUTILS_FOUND = FALSE -- Disabling Manual support. -- Override with -DENABLE_MANUAL=ON/OFF -- -- -- Configuring Doxygen support... -- Dependency DOXYGEN_FOUND = YES -- Enabling Doxygen support. -- Override with -DENABLE_DOXYGEN=ON/OFF -- -- Configuring USRP-E Utils support... -- Dependency LINUX = TRUE -- Disabling USRP-E Utils support. -- Override with -DENABLE_USRP_E_UTILS=ON/OFF -- -- ## -- # UHD enabled components -- ## -- * Doxygen -- -- ## -- # UHD disabled components -- ## -- * LibUHD -- * Examples -- * Utils -- * Tests -- * Manual -- * USRP-E Utils -- -- Building version: 003.004.000-6795022 -- Using install prefix: /usr/local -- Configuring done -- Generating done -- Build files have been written to: /home/david/uhd/host/build I believe the files its looking for are installed in /usr/lib64 How do i specify this to cmake? im not to familar with it. I tried cmake-gui and i get Boost_DIR-NOTFOUND for Boost-dir ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Working with dbpsk module.
On Mon, Feb 6, 2012 at 9:34 AM, anay tuljapurkar wrote: > Hey guys, > >Although outdated and removed from the digital-folder, I am currently > working with the dbpsk module for one of my projects. I came across this > error and kindly request anybody out there to help me out with the same. > The error message that i received is as follows, > > ValueError : itemsize mismatch : dbpsk_demod(4):0 using 1, sub_ff(14):0 > using 4. > > Thanks and Regards, > Anay. > The result of the dbpsk_demod is a bit stream, so only 1 bit per byte is set in each item (LSB). You'll want to convert this to whatever representation/form you want from there. Tom ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] binary data transmission
On Sun, Feb 5, 2012 at 8:29 AM, anju babu wrote: > > I'm doing my M.Tech project in gnuradio and i'm using gnuradio > companion.My project is underwater communication system.in that i have to > transmit the data from a file source after frequency modulation .My file > source output type is byte.I have to transmit my data in binary format for > eg.if 1 is written on file it should be transmitted as 0001.similarly > for characters its ascii's binary have to be transmitted.kindly suggest me > any method for the same. > -- > *ANJU BABU* Anju, A good place to learn this kind of stuff would be to look in the gr-digital/examples/narrowband code for how we transmit data using PSK and GMSK modulations. Start learning from there and adapting to how you need to use the available GNU Radio blocks to accomplish your project. Tom ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Where can I find gr and audio module?
On Sat, Feb 4, 2012 at 11:21 PM, Nazmul Islam wrote: > Hello, > > I am going through the GNUradio tutorials (the website ones and the ones >> written by Dawei Shen). The codes in the tutorials import gr and audio >> packages from gnuradio. I am searching for these modules (especially the gr >> one) in http://gnuradio.org/doc/doxygen/group__usrp.html. I see a lot of >> classes that are related with gr, e.g., gr_noise_source & other ones. >> However, I did not find any module whose title is exactly 'gr'. > > > >> In tutorial 6, Dawei Shen describes a few lines of the contents of gr. He >> also mentions about a sub-folder titled 'gr' inside the 'gnuradio' folder >> (/usr/local/python2.4/site-packages/gnuradio/gr/basic_flow_graph.py). I am >> currently using gnuradio-3.3. I see subfolders titled gr-audio-jack, >> gr-paper, etc. in the gnuradio folder. However, I don't see a folder whose >> title is exactly 'gr'. > > >How can I see the contents of gr? I know that I am probably asking a > too elementary question due to my limited knowledge in linux & OOP. > >Thanks in advance! > >Nazmul > Nazmul, You mean like looking at the gr module to see what blocks are included inside? You can just use "dir(gr)", or something like: for g in dir(gr): print g OR: print "\n".join([g for g in dir(gr)]) Both of these will print all available objects in gr, one per line. Also, you can use iPython as a command-line Python interpreter shell. In iPython, typing "dir(gr)" will print the objects as a column, too. Tom ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Error while using uhd usrp blocks
On Fri, Feb 3, 2012 at 1:13 PM, Ben Hilburn wrote: > Tom - maybe you can correct me if I'm wrong, here? > > I think you are asking about the changes Tom made to the general loop > formula, the details of which you can find here: > > http://www.trondeau.com/blog/2011/8/13/control-loop-gain-values.html > > Cheers, > Ben > Ben, yep, that should explain it a bit better. Shashank, also, the theta value is a constant rotation for the constellation. If your QPSK symbols, say, are located at (+/-1) + j(+/-1), the rotation is 45 degrees (I think that's how the default slicing works) as described in the block's documentation: theta any constant phase rotation from the real axis of the constellation Tom > On Thu, Feb 2, 2012 at 7:14 AM, shashank gaur wrote: > >> Hello >> >> First of all Thank you very much for your support >> I was able to run the program on two different USRP and it was >> successful. >> >> But still I have some new problems. Actually I am doing my masters >> project on gnuradio and usrp. >> I am trying to make a BPSK transmitter and receiver(Attached GRC Files), >> then use it further in my project. My mentor suggested to use MPSK Receiver >> for the receiver part but I am not sure about Loop Bandwidth and Theta as >> the solution my mentor gave is for the old version of gnuradio. Can you >> help me with understanding these parameters? >> Right now when I start my receiver program on a usrp the number plot >> varies around 0.5 (which I guess is normal when there is no transmission) >> but when I start transmitter the value goes high to 0.6 or 0.7 (It should >> be lower than 0.3). >> I am using following parameters for the same >> >> M = 2 for BPSK >> >> Theta = 0 (I was not sure about this so I put it 0) >> >> Loop Bandwidth= ? (I dont knw what to put here) >> >> Min Freq = -0.05 >> >> Max Freq = 0.05 >> >> Mu = 0.5 >> >> Gain Mu = 0.001 >> >> Omega = 8 >> >> Gain Omega = 0.01 >> >> Omega Relative Limit = 0.0001 >> Also I tried to use Costas loop and Clock Recovery MM with same >> parameters but they are also not working. >> It would be great help if anyone can help me understand these parameters. >> >> Shashank Gaur >> >> >> >> On Fri, Jan 27, 2012 at 9:38 PM, shashank gaur wrote: >> >>> Hello all >>> Thank you very much for such prompt response. >>> >>> @Marcus: I understand the problem now and will try to implement the Rx >>> and Tx on different USRP on Monday. The weeekend has already started here >>> in France. >>> @Andrew: I will also get back with exact result of the commands but what >>> I remember for uhd_find_devices the result was the device address that is >>> 4d9de875 and in uhd_usrp_probe it detected all the available RX and Tx (it >>> has Flex900). >>> Apologies for the delay but cannot access the usrp before Monday. The >>> mentor doesnt allow me to have usrp at home. Hope you understand >>> Thanks again for your time >>> >>> shashank gaur >>> >>> On Fri, Jan 27, 2012 at 9:18 PM, Marcus D. Leech wrote: >>> ** On 27/01/12 03:00 PM, Andrew Davis wrote: Type " uhd_find_devices " into console, then " uhd_usrp_probe " then give us the results, and the code for the program you're trying to run. On Fri, Jan 27, 2012 at 9:39 AM, shashank gaur wrote: > Hello > > I am simply trying to build a transmitter and receiver for bpsk > modulation and demodulation using mpsk receiver at receiving end. I am > using USRP1 (Flex900 Daughter boards) with Gnuradio Companion 3.5.0rc0 on > Ubuntu 10.10. > > When I run either (trransmitter or receiver) of any grc applications > first the grc executes it successfully and when I run other the grc gives > following error. > linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.003.001-8ff8f20 > > Traceback (most recent call last): > File "/home/sunny/Examples/top_block.py", line 105, in > tb = top_block() > File "/home/sunny/Examples/top_block.py", line 40, in __init__ > num_channels=1, > File > "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/__init__.py", line > 93, > in constructor_interceptor > return old_constructor(*args, **kwargs) > File > "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/uhd_swig.py", line > 2003, in usrp_sink > return _uhd_swig.usrp_sink(*args, **kwargs) > RuntimeError: LookupError: KeyError: No devices found for -> > Device Address: > serial: 4d9de875 > > > I think it has something to do with USRP UHD Source/Sink block > parameters. > Either the grc is not able to recognize the daughter board or there is > problem with hardware. may be I am wrong. > Please help me to recognize the error. > Thank you very much for your time > Shashank Gaur > > ___ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists
[Discuss-gnuradio] The module build is not compatible with the host code build.
hi all, i am running the tx_waveforms example on the usrp E100 but i got the following error Expected module compatibility number 0x3, but got 0x The module build is not compatible with the host code build. my uhd version is UHD_003.004.000-5b06adb i got the fpga image from the tar file of the 003.004 image from the recent images link but it didn't work,also 0x seems strange all problems on the forums vary between 0x1 and 0x2 how i can i know the compatibility code of the image and where i can get the 0x3 compatibility image any help would be appreciated ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] The module build is not compatible with the host code build.
On Mon, 6 Feb 2012 16:39:24 +, osama mohamed wrote: > hi all, > > i am running the tx_waveforms example on the usrp E100 but i got the following error > > Expected module compatibility number 0x3, but got 0x > The module BUILD IS NOT COMPATIBLE WITH THE HOST CODE BUILD. > > my uhd version is UHD_003.004.000-5b06adb > i got the fpga image from the tar file of the 003.004 image from the recent images link but it didn't work,also 0x seems strange all problems on the forums vary between 0x1 and 0x2 > how i can i know the compatibility code of the image and where i can get the 0x3 compatibility image > > any help would be appreciated You probably didn't burn the image correctly into the target device. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] gnuradio on E100
hi ,all I am building gnuradio on E100 from source ,,,but is keep failing at the ./bootstrap Knowing it worked before here is the error any help is appreciated - error - Can't locate Thread/Queue.pm in @INC (@INC contains: /usr/share/automake-1.11 /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/automake line 141. BEGIN failed--compilation aborted at /usr/bin/automake line 144. Traceback (most recent call last): File "gen/volk_register.py", line 5, in import re ImportError: No module named re mv: cannot stat `gen/lib/Makefile.am': No such file or directory aclocal: couldn't open directory `gen/config': No such file or directory configure.ac:21: error: possibly undefined macro: AM_CONFIG_HEADER If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:22: error: possibly undefined macro: AM_INIT_AUTOMAKE configure:1960: error: possibly undefined macro: AM_PROG_AS configure:2137: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL configure:2138: error: possibly undefined macro: AC_DISABLE_STATIC configure:2138: error: possibly undefined macro: AC_PROG_LIBTOOL configure:2138: error: possibly undefined macro: AC_ENABLE_SHARED configure:3776: error: possibly undefined macro: AM_CONDITIONAL autoheader: error: AC_CONFIG_HEADERS not found in configure.ac Can't locate Thread/Queue.pm in @INC (@INC contains: /usr/share/automake-1.11 /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/automake line 141. BEGIN failed--compilation aborted at /usr/bin/automake line 144. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gnuradio on E100
Ahmed - 1) Are you using one of the officially supported E1xx filesystems? 2) You have used the autotools process to successfully build on that exact E100 filesystem in the past? 3) Have you tried building with CMake? Cheers, Ben On Mon, Feb 6, 2012 at 9:48 AM, Ahmed Alsawi wrote: > hi ,all > I am building gnuradio on E100 from source ,,,but is keep failing at the > ./bootstrap > Knowing it worked before > here is the error > any help is appreciated > > - error - > Can't locate Thread/Queue.pm in @INC (@INC contains: > /usr/share/automake-1.11 /etc/perl /usr/local/lib/perl/5.10.1 > /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 > /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at > /usr/bin/automake line 141. > BEGIN failed--compilation aborted at /usr/bin/automake line 144. > Traceback (most recent call last): > File "gen/volk_register.py", line 5, in > import re > ImportError: No module named re > mv: cannot stat `gen/lib/Makefile.am': No such file or directory > aclocal: couldn't open directory `gen/config': No such file or directory > configure.ac:21: error: possibly undefined macro: AM_CONFIG_HEADER > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure.ac:22: error: possibly undefined macro: AM_INIT_AUTOMAKE > configure:1960: error: possibly undefined macro: AM_PROG_AS > configure:2137: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL > configure:2138: error: possibly undefined macro: AC_DISABLE_STATIC > configure:2138: error: possibly undefined macro: AC_PROG_LIBTOOL > configure:2138: error: possibly undefined macro: AC_ENABLE_SHARED > configure:3776: error: possibly undefined macro: AM_CONDITIONAL > autoheader: error: AC_CONFIG_HEADERS not found in configure.ac > Can't locate Thread/Queue.pm in @INC (@INC contains: > /usr/share/automake-1.11 /etc/perl /usr/local/lib/perl/5.10.1 > /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 > /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at > /usr/bin/automake line 141. > BEGIN failed--compilation aborted at /usr/bin/automake line 144. > > > > > ___ > 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] gnuradio on E100
On Mon, Feb 6, 2012 at 8:06 PM, Ben Hilburn wrote: > Ahmed - > > 1) Are you using one of the officially supported E1xx filesystems? > This angstrom x11-image built with OE for overo machine kernel image 2.6.38 What is exactly officially supported E1xx filesystems? where to get them? > > 2) You have used the autotools process to successfully build on that exact > E100 filesystem in the past? > actually ,But i am following the same steps friend did and it worked for him. > 3) Have you tried building with CMake? > no, I am at ./bootstrap step > > Cheers, > Ben > > On Mon, Feb 6, 2012 at 9:48 AM, Ahmed Alsawi wrote: > >> hi ,all >> I am building gnuradio on E100 from source ,,,but is keep failing at the >> ./bootstrap >> Knowing it worked before >> here is the error >> any help is appreciated >> > > >> - error - >> Can't locate Thread/Queue.pm in @INC (@INC contains: >> /usr/share/automake-1.11 /etc/perl /usr/local/lib/perl/5.10.1 >> /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 >> /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at >> /usr/bin/automake line 141. >> BEGIN failed--compilation aborted at /usr/bin/automake line 144. >> Traceback (most recent call last): >> File "gen/volk_register.py", line 5, in >> import re >> ImportError: No module named re >> mv: cannot stat `gen/lib/Makefile.am': No such file or directory >> aclocal: couldn't open directory `gen/config': No such file or directory >> configure.ac:21: error: possibly undefined macro: AM_CONFIG_HEADER >> If this token and others are legitimate, please use >> m4_pattern_allow. >> See the Autoconf documentation. >> configure.ac:22: error: possibly undefined macro: AM_INIT_AUTOMAKE >> configure:1960: error: possibly undefined macro: AM_PROG_AS >> configure:2137: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL >> configure:2138: error: possibly undefined macro: AC_DISABLE_STATIC >> configure:2138: error: possibly undefined macro: AC_PROG_LIBTOOL >> configure:2138: error: possibly undefined macro: AC_ENABLE_SHARED >> configure:3776: error: possibly undefined macro: AM_CONDITIONAL >> autoheader: error: AC_CONFIG_HEADERS not found in configure.ac >> Can't locate Thread/Queue.pm in @INC (@INC contains: >> /usr/share/automake-1.11 /etc/perl /usr/local/lib/perl/5.10.1 >> /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 >> /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at >> /usr/bin/automake line 141. >> BEGIN failed--compilation aborted at /usr/bin/automake line 144. >> >> >> >> >> ___ >> 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] ldconfig problem
Osama - Are you using one of our official filesystems? e1xx-001 or e1xx-002? If not, what filesystem are you using? If you are trying to make your own, you will need to hand-create the /etc/ld.so.conf file. Cheers, Ben 2012/2/5 osama mohamed > hi all, > > i am installing uhd on the e100 but i have 2 problems > after i finished the installation i ran ldconfig and this is what i got > 1-ldconfig: /usr/lib/libstdc++.so.6.0.14-gdb.py is not an ELF file - it > has the wrong magic bytes at the start. > 2-can't find the file /etc/ld.so.conf > > any help would be appreciated > > thanks , > > osama > > ___ > 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] gnuradio on E100
> > >> 1) Are you using one of the officially supported E1xx filesystems? >> >This angstrom x11-image built with OE for overo machine kernel image > 2.6.38 >What is exactly officially supported E1xx filesystems? where to get > them? > http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/Images#Official-File-System-Images > > >> >> > 2) You have used the autotools process to successfully build on that exact >> E100 filesystem in the past? >> > > actually ,But i am following the same steps friend did and it worked > for him. > Are you certain you used the same OE recipe? If you had the exact same file system, the same step would have worked for you. > > >> 3) Have you tried building with CMake? >> > no, I am at ./bootstrap step > You are currently using the autotools build method - CMake is an entirely different system. You should try the instructions we provide for building GNU Radio from source: http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ#How-do-I-install-GNU-Radio-from-source Cheers, Ben > >> Cheers, >> Ben >> >> On Mon, Feb 6, 2012 at 9:48 AM, Ahmed Alsawi >> wrote: >> >>> hi ,all >>> I am building gnuradio on E100 from source ,,,but is keep failing at the >>> ./bootstrap >>> Knowing it worked before >>> here is the error >>> any help is appreciated >>> >> > >> >>> - error - >>> Can't locate Thread/Queue.pm in @INC (@INC contains: >>> /usr/share/automake-1.11 /etc/perl /usr/local/lib/perl/5.10.1 >>> /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 >>> /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at >>> /usr/bin/automake line 141. >>> BEGIN failed--compilation aborted at /usr/bin/automake line 144. >>> Traceback (most recent call last): >>> File "gen/volk_register.py", line 5, in >>> import re >>> ImportError: No module named re >>> mv: cannot stat `gen/lib/Makefile.am': No such file or directory >>> aclocal: couldn't open directory `gen/config': No such file or directory >>> configure.ac:21: error: possibly undefined macro: AM_CONFIG_HEADER >>> If this token and others are legitimate, please use >>> m4_pattern_allow. >>> See the Autoconf documentation. >>> configure.ac:22: error: possibly undefined macro: AM_INIT_AUTOMAKE >>> configure:1960: error: possibly undefined macro: AM_PROG_AS >>> configure:2137: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL >>> configure:2138: error: possibly undefined macro: AC_DISABLE_STATIC >>> configure:2138: error: possibly undefined macro: AC_PROG_LIBTOOL >>> configure:2138: error: possibly undefined macro: AC_ENABLE_SHARED >>> configure:3776: error: possibly undefined macro: AM_CONDITIONAL >>> autoheader: error: AC_CONFIG_HEADERS not found in configure.ac >>> Can't locate Thread/Queue.pm in @INC (@INC contains: >>> /usr/share/automake-1.11 /etc/perl /usr/local/lib/perl/5.10.1 >>> /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 >>> /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at >>> /usr/bin/automake line 141. >>> BEGIN failed--compilation aborted at /usr/bin/automake line 144. >>> >>> >>> >>> >>> ___ >>> 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] Simultaneous wireless transmission and reception between USRP2s
On 02/04/2012 04:29 AM, You Lizhao wrote: > I'm also interested in this problem. > > I have tried to setup a UHD sink and a UHD source using one USRP2 + > XCVR2450 daughterboard like tunnel.py. The flowgraph is like this: (1) Tx > Path: self.connect(self.txpath, self.sink); (2) Rx Path: > self.connect(self.source, self.rxpath). It works but makes my confused > since XCVR2450 does not support full-duplex operation, attempting to > operate in full-duplex will result in transmit-only operation. How is it > possible to setup a UHD sink and source at the same time with only one > USRP2 + XCVR2450? Does it mean the UHD driver can switch between tx and rx > states automatically? Or does it mean the UHD + 2450 is actually in tx mode? > > Any idea would be appreciated. Thanks. > In the case of XCVR2450, the transmit state takes over when you are using it in full duplex. Imagine an application that is always receiving. When you transmit, the receiver is temporarily unavailable. You can also use tags to precisely control the timing of samples: http://gnuradio.org/cgit/gnuradio.git/tree/gr-uhd/include/gr_uhd_usrp_sink.h#n52 -Josh ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gnuradio on E100
On 02/06/2012 01:17 PM, Ahmed Alsawi wrote: > On Mon, Feb 6, 2012 at 8:06 PM, Ben Hilburn wrote: > >> Ahmed - >> >> 1) Are you using one of the officially supported E1xx filesystems? >> >This angstrom x11-image built with OE for overo machine kernel image > 2.6.38 >What is exactly officially supported E1xx filesystems? where to get them? > > >> >> > 2) You have used the autotools process to successfully build on that exact >> E100 filesystem in the past? >> > > actually ,But i am following the same steps friend did and it worked > for him. It smells like he python regexp module (or something having to do with re is missing). Do you mind pointing me at what your friend did so I can look into fixing it. opkg update; opkg install python-modules might fix the problem. Philip > > >> 3) Have you tried building with CMake? >> > no, I am at ./bootstrap step > >> >> Cheers, >> Ben >> >> On Mon, Feb 6, 2012 at 9:48 AM, Ahmed Alsawi >> wrote: >> >>> hi ,all >>> I am building gnuradio on E100 from source ,,,but is keep failing at the >>> ./bootstrap >>> Knowing it worked before >>> here is the error >>> any help is appreciated >>> >> > >> >>> - error - >>> Can't locate Thread/Queue.pm in @INC (@INC contains: >>> /usr/share/automake-1.11 /etc/perl /usr/local/lib/perl/5.10.1 >>> /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 >>> /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at >>> /usr/bin/automake line 141. >>> BEGIN failed--compilation aborted at /usr/bin/automake line 144. >>> Traceback (most recent call last): >>> File "gen/volk_register.py", line 5, in >>> import re >>> ImportError: No module named re >>> mv: cannot stat `gen/lib/Makefile.am': No such file or directory >>> aclocal: couldn't open directory `gen/config': No such file or directory >>> configure.ac:21: error: possibly undefined macro: AM_CONFIG_HEADER >>> If this token and others are legitimate, please use >>> m4_pattern_allow. >>> See the Autoconf documentation. >>> configure.ac:22: error: possibly undefined macro: AM_INIT_AUTOMAKE >>> configure:1960: error: possibly undefined macro: AM_PROG_AS >>> configure:2137: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL >>> configure:2138: error: possibly undefined macro: AC_DISABLE_STATIC >>> configure:2138: error: possibly undefined macro: AC_PROG_LIBTOOL >>> configure:2138: error: possibly undefined macro: AC_ENABLE_SHARED >>> configure:3776: error: possibly undefined macro: AM_CONDITIONAL >>> autoheader: error: AC_CONFIG_HEADERS not found in configure.ac >>> Can't locate Thread/Queue.pm in @INC (@INC contains: >>> /usr/share/automake-1.11 /etc/perl /usr/local/lib/perl/5.10.1 >>> /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 >>> /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at >>> /usr/bin/automake line 141. >>> BEGIN failed--compilation aborted at /usr/bin/automake line 144. >>> >>> >>> >>> >>> ___ >>> 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] gnuradio on E100
@Philip Balister the steps are 1. compiling wxGTk from source. 2. compiling wxPython from source. Then compile the gnuradio ,, These the main steps i went through ,If you want details tell me. On Mon, Feb 6, 2012 at 9:46 PM, Philip Balister wrote: > On 02/06/2012 01:17 PM, Ahmed Alsawi wrote: > > On Mon, Feb 6, 2012 at 8:06 PM, Ben Hilburn wrote: > > > >> Ahmed - > >> > >> 1) Are you using one of the officially supported E1xx filesystems? > >> > >This angstrom x11-image built with OE for overo machine kernel image > > 2.6.38 > >What is exactly officially supported E1xx filesystems? where to get > them? > > > > > >> > >> > > 2) You have used the autotools process to successfully build on that > exact > >> E100 filesystem in the past? > >> > > > > actually ,But i am following the same steps friend did and it worked > > for him. > > It smells like he python regexp module (or something having to do with > re is missing). Do you mind pointing me at what your friend did so I can > look into fixing it. > > opkg update; opkg install python-modules might fix the problem. > > Philip > > > > > > >> 3) Have you tried building with CMake? > >> > > no, I am at ./bootstrap step > > > >> > >> Cheers, > >> Ben > >> > >> On Mon, Feb 6, 2012 at 9:48 AM, Ahmed Alsawi >wrote: > >> > >>> hi ,all > >>> I am building gnuradio on E100 from source ,,,but is keep failing at > the > >>> ./bootstrap > >>> Knowing it worked before > >>> here is the error > >>> any help is appreciated > >>> > >> > > > >> > >>> - error - > >>> Can't locate Thread/Queue.pm in @INC (@INC contains: > >>> /usr/share/automake-1.11 /etc/perl /usr/local/lib/perl/5.10.1 > >>> /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 > >>> /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) > at > >>> /usr/bin/automake line 141. > >>> BEGIN failed--compilation aborted at /usr/bin/automake line 144. > >>> Traceback (most recent call last): > >>> File "gen/volk_register.py", line 5, in > >>> import re > >>> ImportError: No module named re > >>> mv: cannot stat `gen/lib/Makefile.am': No such file or directory > >>> aclocal: couldn't open directory `gen/config': No such file or > directory > >>> configure.ac:21: error: possibly undefined macro: AM_CONFIG_HEADER > >>> If this token and others are legitimate, please use > >>> m4_pattern_allow. > >>> See the Autoconf documentation. > >>> configure.ac:22: error: possibly undefined macro: AM_INIT_AUTOMAKE > >>> configure:1960: error: possibly undefined macro: AM_PROG_AS > >>> configure:2137: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL > >>> configure:2138: error: possibly undefined macro: AC_DISABLE_STATIC > >>> configure:2138: error: possibly undefined macro: AC_PROG_LIBTOOL > >>> configure:2138: error: possibly undefined macro: AC_ENABLE_SHARED > >>> configure:3776: error: possibly undefined macro: AM_CONDITIONAL > >>> autoheader: error: AC_CONFIG_HEADERS not found in configure.ac > >>> Can't locate Thread/Queue.pm in @INC (@INC contains: > >>> /usr/share/automake-1.11 /etc/perl /usr/local/lib/perl/5.10.1 > >>> /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 > >>> /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) > at > >>> /usr/bin/automake line 141. > >>> BEGIN failed--compilation aborted at /usr/bin/automake line 144. > >>> > >>> > >>> > >>> > >>> ___ > >>> 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] gnuradio on E100
On 02/06/2012 03:25 PM, Ahmed Alsawi wrote: > @Philip Balister > the steps are > 1. compiling wxGTk from source. > 2. compiling wxPython from source. > Then compile the gnuradio ,, > > These the main steps i went through ,If you want details tell me. OK, sounds like step 1 would be to upgrade to the latest factory image per Ben's emails. Philip > > > On Mon, Feb 6, 2012 at 9:46 PM, Philip Balister wrote: > >> On 02/06/2012 01:17 PM, Ahmed Alsawi wrote: >>> On Mon, Feb 6, 2012 at 8:06 PM, Ben Hilburn wrote: >>> Ahmed - 1) Are you using one of the officially supported E1xx filesystems? >>>This angstrom x11-image built with OE for overo machine kernel image >>> 2.6.38 >>>What is exactly officially supported E1xx filesystems? where to get >> them? >>> >>> >>> 2) You have used the autotools process to successfully build on that >> exact E100 filesystem in the past? >>> >>> actually ,But i am following the same steps friend did and it worked >>> for him. >> >> It smells like he python regexp module (or something having to do with >> re is missing). Do you mind pointing me at what your friend did so I can >> look into fixing it. >> >> opkg update; opkg install python-modules might fix the problem. >> >> Philip >> >>> >>> 3) Have you tried building with CMake? >>> no, I am at ./bootstrap step >>> Cheers, Ben On Mon, Feb 6, 2012 at 9:48 AM, Ahmed Alsawi >> wrote: > hi ,all > I am building gnuradio on E100 from source ,,,but is keep failing at >> the > ./bootstrap > Knowing it worked before > here is the error > any help is appreciated > >>> > - error - > Can't locate Thread/Queue.pm in @INC (@INC contains: > /usr/share/automake-1.11 /etc/perl /usr/local/lib/perl/5.10.1 > /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 > /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) >> at > /usr/bin/automake line 141. > BEGIN failed--compilation aborted at /usr/bin/automake line 144. > Traceback (most recent call last): > File "gen/volk_register.py", line 5, in > import re > ImportError: No module named re > mv: cannot stat `gen/lib/Makefile.am': No such file or directory > aclocal: couldn't open directory `gen/config': No such file or >> directory > configure.ac:21: error: possibly undefined macro: AM_CONFIG_HEADER > If this token and others are legitimate, please use > m4_pattern_allow. > See the Autoconf documentation. > configure.ac:22: error: possibly undefined macro: AM_INIT_AUTOMAKE > configure:1960: error: possibly undefined macro: AM_PROG_AS > configure:2137: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL > configure:2138: error: possibly undefined macro: AC_DISABLE_STATIC > configure:2138: error: possibly undefined macro: AC_PROG_LIBTOOL > configure:2138: error: possibly undefined macro: AC_ENABLE_SHARED > configure:3776: error: possibly undefined macro: AM_CONDITIONAL > autoheader: error: AC_CONFIG_HEADERS not found in configure.ac > Can't locate Thread/Queue.pm in @INC (@INC contains: > /usr/share/automake-1.11 /etc/perl /usr/local/lib/perl/5.10.1 > /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 > /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) >> at > /usr/bin/automake line 141. > BEGIN failed--compilation aborted at /usr/bin/automake line 144. > > > > > ___ > 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
[Discuss-gnuradio] not getting timestamps from UHD received stream tags
I am trying to read incoming RX timestamps from the UHD sample stream. I'd like to calculate the approximate time a preamble is received in the OFDM code. The issue is that, despite getting incoming frames and preambles, I do not seem to be getting timestamp values. I use get_tags_in_range() on "rx_time": https://github.com/gnychis/grforwarder/blob/8f8c4e6cf79a2d635a0eb3bcad9b5ab325f1e373/gr-digital/lib/digital_ofdm_sampler.cc#L78 However, the size of the rx_time tags is consistently zero: https://github.com/gnychis/grforwarder/blob/8f8c4e6cf79a2d635a0eb3bcad9b5ab325f1e373/gr-digital/lib/digital_ofdm_sampler.cc#L99 The output of the OFDM receiver code: ok: True pktno: 637 n_rcvd: 18 n_right: 17 got a preamble, size of time_tags: 0 ok: True pktno: 638 n_rcvd: 19 n_right: 18 got a preamble, size of time_tags: 0 ok: True pktno: 639 n_rcvd: 20 n_right: 19 got a preamble, size of time_tags: 0 ... Is there something I am missing to enable the RX timestamp on the incoming samples, or am I not properly reading the stream tag? My branch came from the GR master 4 days ago (309ca769af). Thanks a bunch. - George ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] not getting timestamps from UHD received stream tags
On 02/06/2012 06:13 PM, George Nychis wrote: > I am trying to read incoming RX timestamps from the UHD sample stream. I'd > like to calculate the approximate time a preamble is received in the OFDM > code. > > The issue is that, despite getting incoming frames and preambles, I do not > seem to be getting timestamp values. I use get_tags_in_range() on > "rx_time": > https://github.com/gnychis/grforwarder/blob/8f8c4e6cf79a2d635a0eb3bcad9b5ab325f1e373/gr-digital/lib/digital_ofdm_sampler.cc#L78 > > However, the size of the rx_time tags is consistently zero: > https://github.com/gnychis/grforwarder/blob/8f8c4e6cf79a2d635a0eb3bcad9b5ab325f1e373/gr-digital/lib/digital_ofdm_sampler.cc#L99 > > The output of the OFDM receiver code: > ok: True pktno: 637 n_rcvd: 18 n_right: 17 > got a preamble, size of time_tags: 0 > ok: True pktno: 638 n_rcvd: 19 n_right: 18 > got a preamble, size of time_tags: 0 > ok: True pktno: 639 n_rcvd: 20 n_right: 19 > got a preamble, size of time_tags: 0 > ... > > Is there something I am missing to enable the RX timestamp on the incoming > samples, or am I not properly reading the stream tag? My branch came from > the GR master 4 days ago (309ca769af). > The timestamps are only sent on the very first packet and after overflow conditions. Are you seeing at least one tag at the very beginning of streaming? -Josh ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] not getting timestamps from UHD received stream tags
Bingo, didn't realize they were only incoming at those points in time. Problem solved, thanks Josh! On Mon, Feb 6, 2012 at 9:18 PM, Josh Blum wrote: > > > On 02/06/2012 06:13 PM, George Nychis wrote: > > I am trying to read incoming RX timestamps from the UHD sample stream. > I'd > > like to calculate the approximate time a preamble is received in the OFDM > > code. > > > > The issue is that, despite getting incoming frames and preambles, I do > not > > seem to be getting timestamp values. I use get_tags_in_range() on > > "rx_time": > > > https://github.com/gnychis/grforwarder/blob/8f8c4e6cf79a2d635a0eb3bcad9b5ab325f1e373/gr-digital/lib/digital_ofdm_sampler.cc#L78 > > > > However, the size of the rx_time tags is consistently zero: > > > https://github.com/gnychis/grforwarder/blob/8f8c4e6cf79a2d635a0eb3bcad9b5ab325f1e373/gr-digital/lib/digital_ofdm_sampler.cc#L99 > > > > The output of the OFDM receiver code: > > ok: True pktno: 637 n_rcvd: 18 n_right: 17 > > got a preamble, size of time_tags: 0 > > ok: True pktno: 638 n_rcvd: 19 n_right: 18 > > got a preamble, size of time_tags: 0 > > ok: True pktno: 639 n_rcvd: 20 n_right: 19 > > got a preamble, size of time_tags: 0 > > ... > > > > Is there something I am missing to enable the RX timestamp on the > incoming > > samples, or am I not properly reading the stream tag? My branch came > from > > the GR master 4 days ago (309ca769af). > > > > The timestamps are only sent on the very first packet and after overflow > conditions. Are you seeing at least one tag at the very beginning of > streaming? > > -Josh > > ___ > 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