Connecting and disconnecting a usrp


#1

Hey all,

I have a quick question about connecting and disconnecting a usrp within
the same python run.
My test program creates a top block, within the top block it attempts to
create a usrp.source_c(0), it then deletes the source goes to sleep and
waits for a KeyboardInterrupt, when this is detected it attempts to
create the usrp source again.

The behaviour I am trying to understand is when I start this program
with my usrp not powered on I get the message “Unable to find USRP #0
as expected. But if I then power on the usrp and hit ctrl-c I still get
the message “Unable to find USRP #0”. So my question is: Is it not
possible to connect / disconnect a usrp within the same python run?
(There is a firmware error if you have the usrp connected to start with,
create / destroy a source, disconnect it, reconnect it and then attempt
to create a new source)

Thank you,
Kieran

=======================================================================
This email, including any attachments, is only for the intended
addressee. It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.