[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] usrp: failed to find usrp [0]
From: |
udadidd |
Subject: |
Re: [Discuss-gnuradio] usrp: failed to find usrp [0] |
Date: |
Thu, 30 Jul 2009 09:37:24 -0700 (PDT) |
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:
>
> 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
>
>
>> 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
>>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
--
View this message in context:
http://www.nabble.com/Newbie-need-help-with-validating-USRP-tp22034089p24741989.html
Sent from the GnuRadio mailing list archive at Nabble.com.