[Discuss-gnuradio] Installation on Ubuntu 12.04 LTS
it's probably not stuck, it's just that after that point, it goes off and uses apt-get to load all of the pre-requisites, which can take a *long* time, and is done silently, unless you use the --verbose option. Thanks! That was the case. -- Regards, Smith ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Installation on Ubuntu 12.04 LTS
Hi all, I am facing problem in gnuradio installation, process stuck on following line: . Checking for package libqwtplot3d-qt4-dev Checking for package pyqt4-dev-tools Checking for package python-qwt5-qt4 Checking for package cmake Checking for package git-core Checking for package wget Checking for package libxi-dev Checking for package python-docutils Checking for package gtk2-engines-pixbuf Checking for package r-base-dev Checking for package python-tk Checking for package liborc-0.4-0 Checking for package libasound2-dev Checking for package python-gtk2 | I am running following command: wget http://www.sbrac.org/files/build-gnuradio chmod a+x ./build-gnuradio ./build-gnuradio Also, I am o VM machine, Ubuntu12.04.. Any help! -- Regards, Smith ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Subject: Re: USRP testing plesae help
You may have a version mismatch between the installed python modules in lib and installed python scripts in bin. Either that, or its a very old bug. Whatever the case, I recommend you nuke your gr install(s) and grab a recent release. First of all bundle of thanks. Last post did help me alot. I installed a fresh gnruadio 3.4.0. Connected the USRP1 and usrp_probe ran successfully. Both the boards were detected. :) When I tried to connect DBSRX2 to RXB or RXA the it wasn't detected. I mean when I ran usrp_probe the model shown was 'unkown' and frequency range was from -900.0 to 9.00. Any help what I need to do in order to check the DBSRX2 ? 2) Also I got N210. How can I test it. Please help. Waiting for a quick response as I am worried. Any help in this regards is highly appreciated. What do you want to test? If you want connectivity, install UHD and the command uhd_usrp_probe will tell you all the USRP devices connected to your pc: http://code.ettus.com/redmine/ettus/projects/uhd/wiki If you want to test signal integrity, configure gnuradio with gr-uhd support. There is a very basic signal generator and analyzer display that comes with the component. uhd_siggen_gui.py uhd_fft.py I believe. Or make a quick flowgraph in gnuradio-companion :-) == I downloaded UHD from link above, then I did following. cd UHD. cd host mkdir build cd build cmake ../ make make install ldconfig But then when I ran uhd_find_devices I got following output: Ignoring discovered device RuntimeError: Expected protocol compatibility number 9, but got 7: The firware build is not compatible with the host code build. No UHD Devices Found Lights D and F are on the N210. No other lights. Another question what is minimum speed required for LAN(Etherenet) interface on PC ? 100Mbps or 1000Mbps ? Regards, Smith ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Subject: Re: USRP testing plesae help
Thanks for the response, I did sudo make and sudo make install when I was installing the UHD. My UHD folder is in my home directory. Sorry, I am not getting you with your last post because I am not very good at Linux. Any help further is highly appreciated. Regards, Smith On Sat, Jan 14, 2012 at 7:12 PM, LRK gr-u...@ovillatx.sytes.net wrote: On Sat, Jan 14, 2012 at 05:33:17PM +0500, smith mark wrote: I downloaded UHD from link above, then I did following. cd UHD. cd host mkdir build cd build cmake ../ make make install ldconfig You can install in userspace but then you need to be sure PYTHONPATH and maybe LD_LIBRARY_PATH are pointing to your install. Most users do 'sudo make install' to install in /usr/local. ldconfig will not find things in userspace and elf-ld can't figure out that a program in /something/bin might have libraries in /something/lib. After you do cmake, the Makefile should be able to clean out old stuff with 'make uninstall' and 'make clean' before the new make and sudo make install. -- LRK gr-user . ovillatx.sytes.net ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] (no subject)
Hi, 1) I got my USRP 1 and RFX900 and 1800 daughterboards. The LED on the USRP flashes when its powered on. I wanted to test the USRP but when I ran the follwowing command ./usrp_probe or sudo ./usrp_probe I got the following error Traceback (most recent call last): File ./usrp_probe, line 114, in module USRPProbeWindow() File ./usrp_probe, line 71, in __init__ vbox.pack_start(get_input(usrp_which_param), False) File ./usrp_probe, line 42, in get_input input = param.get_input() AttributeError: 'Param' object has no attribute 'get_input' I am using gnuradio 3.2 and Ubuntu(Lucid) 2) Also I got N210. How can I test it. Please help. Waiting for a quick response as I am worried. Any help in this regards is highly appreciated. Regards, Smith ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] USRP testing plesae help
Hi, 1) I got my USRP 1 and RFX900 and 1800 daughterboards. The LED on the USRP flashes when its powered on. I wanted to test the USRP but when I ran the follwowing command ./usrp_probe or sudo ./usrp_probe I got the following error Traceback (most recent call last): File ./usrp_probe, line 114, in module USRPProbeWindow() File ./usrp_probe, line 71, in __init__ vbox.pack_start(get_input(usrp_which_param), False) File ./usrp_probe, line 42, in get_input input = param.get_input() AttributeError: 'Param' object has no attribute 'get_input' I am using gnuradio 3.2 and Ubuntu(Lucid) 2) Also I got N210. How can I test it. Please help. Waiting for a quick response as I am worried. Any help in this regards is highly appreciated. Regards, Smith ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] CATV on USRP ??
Hi all, I want to know that if there is any possibility of having CATV on USRP ? If yes please guide me. Regards Smith ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Missing gr_plot_ofdm.py
Thanks :) On Tue, Jun 21, 2011 at 3:21 AM, John Andrews gnu.f...@gmail.com wrote: http://vps.gnuradio.org/redmine/repositories/entry/gnuradio/gnuradio-examples/python/ofdm/gr_plot_ofdm.py?rev=ab6cf111c1d00b22d9016524b31cfcc6b09ffdc7 On Mon, Jun 20, 2011 at 1:21 PM, smith mark smith.mark1...@gmail.comwrote: Hi all I want to plot the .dat files that are created by the benchmark_ofdm code. But I didn't find the gr_plot_ofdm.py file anywhere in the my gnuradio directory. I am using gnuradio 3.3.0. I did find the plot_ofdm.m file but I want to use python only. I downloaded gnuradio3.2.2 but didn't find the file there too. Please tell me from where I can download this file.. Regards Usman Haider ___ 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] Muliple top_block()
Thank you very much all for such clear explanation of things. Actually I want to implement the coded OFDM. And was trying to figure out how can I run the trellis-encoder and OFDM flow graphs together. Your posts did help me a lot :). Smith On Tue, Jun 21, 2011 at 1:45 AM, Johnathan Corgan jcor...@corganenterprises.com wrote: On Mon, Jun 20, 2011 at 11:03, smith mark smith.mark1...@gmail.comwrote: As far as the result is concerned it seems right. But, I want to know that whether this type of thing is conceptually right or not ?? It is functionally correct, as you noted, but using GNU Radio this way is not very common except perhaps in automated QA code. Typically, flowgraphs run continuously, with data being injected into the graph via one or more sources and being removed via one or more sinks, and don't get started and stopped or re-run except in response to some application level event (like startup and shutdown, or for flowgraph reconfiguration). I think your use case would be better served by connecting your two flowgraphs using a message sink and a message source that share a common message queue, or even merging the two together, but it is hard to say without more information about what you are trying to accomplish. I read that there must be only one top_block(). Please guide me in this.. Having more than one top block is fine since release series 3.3, but requires more attention to detail as you have to use the start()/stop()/wait() sequence on each instead of the simpler run(). Johnathan ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Muliple top_block()
Hi all, I wanted to know that whether one can have multiple gr.top_block() or not? for example tb1=gr.top_block() tb2=gr.top_block() tb1.run() tb2.run() and have them running at the same time. Regards Smith ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Missing gr_plot_ofdm.py
Hi all I want to plot the .dat files that are created by the benchmark_ofdm code. But I didn't find the gr_plot_ofdm.py file anywhere in the my gnuradio directory. I am using gnuradio 3.3.0. I did find the plot_ofdm.m file but I want to use python only. I downloaded gnuradio3.2.2 but didn't find the file there too. Please tell me from where I can download this file.. Regards Usman Haider ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Muliple top_block()
Hi Thanks for the reply. I used tb1.start() and tb2.run() and I think that is working. The two blocks don't have connections with each other. The flow is like: tb1=gr.top_block() 1. tb1.start() 2. Some variable declaration... Repeat step 3 and 4, five times 3. A function that creates tb2 and runs it and return the result --- tb2=gr.top_block() --- vector source---convolution coding-destination --- tb2.run() --- return destination.data() 4. send the result to the tb1 for processing 5 . tb1.wait() As far as the result is concerned it seems right. But, I want to know that whether this type of thing is conceptually right or not ?? I read that there must be only one top_block(). Please guide me in this.. Regards Smith ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Please Help in trellis gnuradio
Hi Thanks Achilleas, after doing this I got the desired result. One more question please What if I want to simulate a noisy channel? If my flow graph is like the one shown below: vector sourcetrellis encoder channel noiseviterbi or any decoder---sink Do I have to make any further changes or the previous solution 'll work? Thanks again, Regards Smith ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] trellis help please
Hi everyone, I want to implement convolutional coding using the trellis block. I don't want to use any modulation scheme or anything else after the encoder. The flow graph I want is shown below vector sourcetrellis encoder viterbi or any decoder---sink Part of the code is shown below src_d = (1,0,1,0,0,0,1,1,0,0,1) sorc = gr.vector_source_b (src_d) //source encoder = trellis.encoder_bs(f,0)//encoder s2f= gr.short_to_float() dec=trellis.viterbi_s(f,len(src_d),0,-1) //decoder dst = gr.vector_sink_s () //sink tb.connect (sorc,encoder,s2f,dec,dst) return(dst.data()) When I run the above flow graph I get nothing just empty, ( ), list. I am using awgn1o2_4.fsm file. I got the correct result after encoder. I can't use the trellis.metric or trellis.viterbi_combined_X to implement decoder as I am not using any modulation :( . Can anybody please help me in this ?? Regards Smith ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] benchmark OFDM Question
Hi everyone, I am working on OFDM in gnuradio. I ran the benchmark_ofdm.py file. Everything worked well, I want to ask one thing that I didn't see the last packet on the terminal. I set the packet size to 400 bytes and total number of bytes to be transmitted to 1600. I should see 4 packets but i see only 3 packets. Where is the problem?? Portion of the code is given blelow: nbytes = int(1600 * 1) //line that I changed n = 0 pktno = 0 pkt_size = int(400) //line that I changed while n nbytes: pkt_contents = struct.pack('!H', pktno) + (pkt_size - 2) * chr(pktno 0xff) send_pkt(pkt_contents) n += pkt_size pktno += 1 - Output is shown below: gr_fir_ccf: using SSE gr_fir_ccc: using SSE gr_fir_fff: using SSE ok: True pktno: 0 n_rcvd: 1 n_right: 1 ok: True pktno: 1 n_rcvd: 2 n_right: 2 0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101 ok: True pktno: 2 n_rcvd: 3 n_right: 3 0202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202 Why fourth packet is not sent ? Or if it is sent then why it is not displayed in the output. I am using gnuradio 3.3.0. Please help me in this. Regards Smith ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio