I have 2 (two) USRP1 and 2 (two) RFX2400 connected to each USRP1.
What I want to do is to have communication between the devices and scan
the spectrum simultaneously.
If running programs one by one, all works great.
Running both at the same time, gives me an error saying that the USB
already being used.
Running: uses RFX2400 on port A
/usr/share/gnuradio/examples/digital/tunnel.py --freq 2.422G
Trying to start: uses RFX2400 on port B
/usr/share/gnuradio/examples/usrp/usrp_spectrum_sense.py -R B 2.4095G
Error after trying to start usrp_spectrum_sense.py:
/usr/share/gnuradio/examples/usrp$ sudo ./usrp_spectrum_sense.py -R B
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_spectrum_sense.py”, line 344, in
tb = my_top_block()
File “./usrp_spectrum_sense.py”, line 169, in init
1646, in source_c
return _usrp_swig.source_c(*args, **kwargs)
RuntimeError: can’t open usrp
From my understanding, it cannot start since top_block is already being
Is there a way I can run both programs simultaneously? Thus the reason
why I have 2 (two) RFX2400 on each USRP1.
Any ideas on a workaround if that is not possible?
Tried merging the programs into one but was not successful in doing so.
have modified both of the files a little for my own convenience, so
are also posted over here.
View this message in context:
Sent from the GnuRadio mailing list archive at Nabble.com.