I am sorry if my previous mail was confusing. I am trying to switch toa different Rx freq depending on a control information. Even though I exit from rx_callback and try to call a new script for Rx using os.system I get an error message saying USB _claim_interface :failed interface 2 Device or resource busy can't open rx_interface can't open usrp1.
I closed /disconnected the flowgraph before attempting to open a new script. How can I ensure that the rx_path is clear? Thank you Swapna On Thu, Feb 12, 2009 at 9:19 PM, Swapna Raj <swapna.ra...@gmail.com> wrote: > Eric, > > Thank You. > os.system() worked. I can now switch between different scripts while in > transmitting mode. > > To all, > While receiving data (using a modification of benchmark_rx.py) I need to > receive at a different frequency depending on some control information . > > I get an error message while attempting to do this using os.system().It > says * > > cannot connect to usb interface, cannot connect to usrp1*. > I tried the following and it doesn't work > > 1.I tried using flowgraph.disconnect and flowgraph.close() before calling > the second script. > 2.I tried calling os.system() after exiting rx_callback and main() but it > still can't connect to the source. > 3.I also tried changing frequency instead of calling a separate script > inside rx_callback() > > > How can I ensure that the receive path is completely disconnected and > usrp_source is available? > > thanks , > Swapna >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio