Forum: GNU Radio Connecting and disconnecting a usrp

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ed175236ab8c9071e9ba0a405b6ca8f7?d=identicon&s=25 Kieran Brownlees (Guest)
on 2009-02-12 23:46
(Received via mailing list)
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.
=======================================================================
This topic is locked and can not be replied to.