Forum: GNU Radio Newbie need help with validating USRP

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9291d2d1450aeafee2130dacc4436f5d?d=identicon&s=25 anne kwong (Guest)
on 2009-02-16 10:32
(Received via mailing list)
Hi,

I am trying to validate my USRP installation with usrp_wfm_rcv.py.  I am
getting error saying: RuntimeError: can't open usrp1

I am able to run the benchmark test with USB port, and the LED light is
on.

Does anyone know what is the problem?

Here is the error message

[root@fodora usrp]# ./usrp_wfm_rcv.py -f96.3
usrp_open_interface:usb_claim_interface: failed interface 2
could not claim interface 2: Device or resource busy
usrp_basic_rx: can't open rx interface
Traceback (most recent call last):
  File "./usrp_wfm_rcv.py", line 289, in <module>
    app = stdgui2.stdapp (wfm_rx_block, "USRP WFM RX")
  File
"/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
line 36, in __init__
    wx.App.__init__ (self, redirect=False)
  File
"/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7836, in __init__
    self._BootstrapApp()
  File
"/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7433, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File
"/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
line 39, in OnInit
    frame = stdframe (self.top_block_maker, self.title, self._nstatus)
  File
"/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
line 60, in __init__
    self.panel = stdpanel (self, self, top_block_maker)
  File
"/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
line 81, in __init__
    self.top_block = top_block_maker (frame, self, vbox, sys.argv)
  File "./usrp_wfm_rcv.py", line 79, in __init__
    self.u = usrp.source_c()                    # usrp is data source
  File "/usr/local/lib/python2.5/site-packages/gnuradio/usrp.py", line
250,
in __init__
    fpga_filename, firmware_filename)
  File "/usr/local/lib/python2.5/site-packages/gnuradio/usrp1.py", line
1232, in source_c
    return _usrp1.source_c(*args)
RuntimeError: can't open usrp1


Thank you very much for all your help.

Pete
9291d2d1450aeafee2130dacc4436f5d?d=identicon&s=25 anne kwong (Guest)
on 2009-02-16 10:59
(Received via mailing list)
Hi,

I was able to bring up the ui for usrp_wfm_rcv.py after restarting USRP.
In the UI, it says "Failed to set initial frequency" and I am getting
the
following warning from the command line.

[root@fodora usrp]# ./usrp_wfm_rcv.py -f96.3
Using RX d'board A: Flex 900 Rx MIMO B
>>> gr_fir_ccf: using SSE
>>> gr_fir_fff: using SSE
audio_alsa_sink[hw:0,0]: unable to support sampling rate 32000
  card requested 44100 instead.

** (python:2886): WARNING **: IPP request failed with status 1030

** (python:2886): WARNING **: IPP request failed with status 1030
FYI: No Powermate or Contour Knob found
aUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaUaU


Does anyone know what is wrong?

Thanks,
Anne
C0ba64b9e5a62ed77295b79b63ab87c0?d=identicon&s=25 Dimitris Symeonidis (Guest)
on 2009-02-16 14:09
(Received via mailing list)
your -f96.3 argument tells gnuradio to tune to 96.3Hz
i think you intended -f96.3M, which gives you 96.3MHz

Dimitris Symeonidis
"If you think you're too small to make a difference, try sleeping with
a mosquito!" - Amnesty International
58a015937ffc4d25d1319aa0af3484c4?d=identicon&s=25 udadidd (Guest)
on 2009-07-29 19:38
(Received via mailing list)
Hi
By mistake i have pulled out the connection of USRP while the
benchmark_rx.py program was running.
Now i get an Error :
usrp: failed to find usrp[0]
Traceback (most recent call last):
  File "benchmark_tx.py", line 137, in <module>
    main()
  File "benchmark_tx.py", line 98, in main
    tb = my_top_block(mods[options.modulation], options)
  File "benchmark_tx.py", line 42, in __init__
    self.txpath = transmit_path(modulator, options)
  File "/Users/udaya/gnuradio-examples/python/digital/transmit_path.py",
line 64, in __init__
    self._setup_usrp_sink(options)
  File "/Users/udaya/gnuradio-examples/python/digital/transmit_path.py",
line 111, in _setup_usrp_sink
    self.u = usrp_options.create_usrp_sink(options)
  File "/Users/udaya/gnuradio-examples/python/digital/usrp_options.py",
line
99, in create_usrp_sink
    fusb_nblocks=options.fusb_nblocks,
  File "/Users/udaya/gnuradio-examples/python/digital/generic_usrp.py",
line
153, in __init__
    except: self._setup_usrp_source()
  File "/Users/udaya/gnuradio-examples/python/digital/generic_usrp.py",
line
176, in _setup_usrp_source
    fusb_nblocks=self._fusb_nblocks)
  File
"/usr/local/lib/python2.5/site-packages/gnuradio/usrp/usrp_swig.py",
line 2469, in sink_c
    return _usrp_swig.sink_c(*args, **kwargs)
RuntimeError: can't open usrp
Exception exceptions.AttributeError: "'gr_hier_block2_sptr' object has
no
attribute '_type'" in <bound method generic_usrp_sink_c.__del__ of
<generic_usrp.generic_usrp_sink_c object at 0x2a32cd0>> ignored

Please help...Thanks
Udaya


--
View this message in context:
http://www.nabble.com/Newbie-need-help-with-valida...
Sent from the GnuRadio mailing list archive at Nabble.com.
A576b201df57014077494da786319110?d=identicon&s=25 Tom Rondeau (Guest)
on 2009-07-29 22:55
(Received via mailing list)
udadidd wrote:
> Hi
> By mistake i have pulled out the connection of USRP while the
> benchmark_rx.py program was running.
>
You're going to need to provide more information. Which connection of
the USRP did you pull out? The USB or power? See if you can use some of
the USRP diagnostic tools like print_dbs or look dmesg to see if the
system is seeing the USRP being plugged back in.

Tom
58a015937ffc4d25d1319aa0af3484c4?d=identicon&s=25 udadidd (Guest)
on 2009-07-30 18:52
(Received via mailing list)
I pulled Back the Power cable from the USRP
First time it gave the errors! But i tried removing the connections and
connecting back again! It worked Then!!

But may i know wat are these print_dbs and dmesg and how do i Use them?

Thanks for your time.


Tom Rondeau wrote:
>
>>   File "benchmark_tx.py", line 42, in __init__
>>     fusb_nblocks=options.fusb_nblocks,
>> line 2469, in sink_c
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>

--
View this message in context:
http://www.nabble.com/Newbie-need-help-with-valida...
Sent from the GnuRadio mailing list archive at Nabble.com.
This topic is locked and can not be replied to.