[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Stopping the UHD
From: |
devin kelly |
Subject: |
[Discuss-gnuradio] Stopping the UHD |
Date: |
Mon, 4 Oct 2010 13:27:48 -0400 |
Hello,
I'm having a problem, where I want to receive data from a specified
amount of time/samples and then stop. I'm using a USRP2 with the UHD.
So far, everything works fine, except for when I try to stop. My
script exits ok, but the usrp2 keeps sending data over the ethernet
bus. The 'C' led is remains illuminated as well, indicating that the
usrp2 is still receiving.
My code looks like this
self.ipAddr = '192.168.10.2'
self.bufSize = '60e6'
self.u = uhd.single_usrp_source('addr=' + self.ipAddr + ',
recv_buff_size=' + self.bufSize, uhd.io_type_t.COMPLEX_FLOAT32)
...
if tb.u.stop() is False:
print 'tb.u.stop() failed'
if tb.stop() is False:
print 'tb.stop() failed'
sys.exit()
tb.u.stop() and tb.stop() both return true. Is there something else I
need to do stop my usrp2? So far the only way I've found to stop it
is to do a hard reset.
Also, I've looked over the next branch and the gnu radio mailing list,
but I haven't really found anything.
Thanks for any help!
Devin
- [Discuss-gnuradio] Stopping the UHD,
devin kelly <=