discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Not able to run usrp2_fft.py


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Not able to run usrp2_fft.py
Date: Fri, 22 Jul 2011 01:10:22 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Lightning/1.0b2 Thunderbird/3.1.11

Use uhd_fft.py, its part of the gr-uhd component.

-josh

On 07/22/2011 12:12 AM, sma s wrote:
> Hello,
> 
> I am trying to get a GSM air interface set up running using USRP2, UHD,
> GNURadio.
> I have installed the latest UHD, using GNURadio 3.3.0. The OS is Ubuntu
> 10.04 LTS. I have installed UHD before GNURadio.
> 
> I have connected the USRP2 to a Gigabit Ethernet port of my PC at eth0. I am
> able to ping:
> address@hidden:/usr/local/bin# ping 192.168.10.2
> PING 192.168.10.2 (192.168.10.2) 56(84) bytes of data.
> 64 bytes from 192.168.10.2: icmp_seq=1 ttl=32 time=1.08 ms
> 64 bytes from 192.168.10.2: icmp_seq=2 ttl=32 time=1.05 ms
> 64 bytes from 192.168.10.2: icmp_seq=3 ttl=32 time=1.06 ms
> 64 bytes from 192.168.10.2: icmp_seq=4 ttl=32 time=1.05 ms
> 64 bytes from 192.168.10.2: icmp_seq=5 ttl=32 time=1.05 ms
> 64 bytes from 192.168.10.2: icmp_seq=6 ttl=32 time=1.05 ms
> 64 bytes from 192.168.10.2: icmp_seq=7 ttl=32 time=1.05 ms
> ^C
> --- 192.168.10.2 ping statistics ---
> 7 packets transmitted, 7 received, 0% packet loss, time 6007ms
> rtt min/avg/max/mdev = 1.051/1.059/1.088/0.027 ms
> 
> Then when I try to run uhd_find_devices, its all ok:
> address@hidden:/usr/local/bin# uhd_find_devices
> linux; GNU C++ version 4.4.3; Boost_104000; UHD_003.001.002-unknown
> 
> --------------------------------------------------
> -- UHD Device 0
> --------------------------------------------------
> Device Address:
>     type: usrp2
>     addr: 192.168.10.2
>     name:
>     serial: 3140
> 
> But when I try running the usrp2_fft.py, I am not successful.
> address@hidden:/usr/local/bin# usrp2_fft.py
> Traceback (most recent call last):
>   File "/usr/local/bin/usrp2_fft.py", line 273, in <module>
>     main ()
>   File "/usr/local/bin/usrp2_fft.py", line 269, in main
>     app = stdgui2.stdapp(app_top_block, "USRP2 FFT", nstatus=1)
>   File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
> line 36, in __init__
>     wx.App.__init__ (self, redirect=False)
>   File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
> line 7978, in __init__
>     self._BootstrapApp()
>   File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
> line 7552, in _BootstrapApp
>     return _core_.PyApp__BootstrapApp(*args, **kwargs)
>   File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
> line 39, in OnInit
>     frame = stdframe (self.top_block_maker, self.title, self._nstatus)
>   File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
> line 60, in __init__
>     self.panel = stdpanel (self, self, top_block_maker)
>   File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
> line 81, in __init__
>     self.top_block = top_block_maker (frame, self, vbox, sys.argv)
>   File "/usr/local/bin/usrp2_fft.py", line 70, in __init__
>     self.u = usrp2.source_32fc(options.interface, options.mac_addr)
>   File "/usr/local/lib/python2.6/dist-packages/gnuradio/usrp2.py", line 687,
> in source_32fc
>     return _usrp2.source_32fc(ifc, mac)
> RuntimeError: No USRPs found on interface eth0
> 
> I am not able to proceed further because of this. Kindly help.
> 
> Regards,
> Sma
> 
> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]