Forum: GNU Radio usrp_basic_tx: can't open tx interface give me some advice please thanks

Posted by eric zhang (ericzhangdl)
on 2012-10-29 07:43
Hi,all
i came up with a nasty problem,confusing me for a long time .
I want to run two similar(or identical) scrips on one computer,say it
tunnel.py, the first one without any question ,when i run another ,it
came up with this error messages :




root@ubuntu:# ./sig_ana_201110.py -f 2400M
>>> gr_fir_fff: using SSE
usrp_open_interface:usb_claim_interface: failed interface 1
could not claim interface 1: Device or resource busy
usrp_basic_tx: can't open tx interface
Traceback (most recent call last):
  File "./sig_ana_201110.py", line 402, in <module>
    main()
  File "./sig_ana_201110.py", line 380, in main
    options)
  File "./sig_ana_201110.py", line 80, in __init__
    self.txpath = usrp_transmit_path.usrp_transmit_path(mod_class,
options)
  File
"/home/zdl/gnuradio-3.2.2/20120922/node/us/usrp_transmit_path.py", line
68, in __init__
    self._setup_usrp_sink(options)
  File
"/home/zdl/gnuradio-3.2.2/20120922/node/us/usrp_transmit_path.py", line
77, in _setup_usrp_sink
    self.u = usrp_options.create_usrp_sink(options)
  File "/home/zdl/gnuradio-3.2.2/20120922/node/us/usrp_options.py", line
119, in create_usrp_sink
    gain=options.tx_gain,
  File "/home/zdl/gnuradio-3.2.2/20120922/node/us/generic_usrp.py", line
199, in __init__
    _generic_usrp_base.__init__(self, **kwargs)
  File "/home/zdl/gnuradio-3.2.2/20120922/node/us/generic_usrp.py", line
63, in __init__
    except: raise Exception, 'Failed to automatically setup a usrp
device.'
Exception: Failed to automatically setup a usrp device.



i try to find answer on the net ,but can't find any solution,Thank you
very much for all your help.
eric
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.