Hello all,

I seem to be having some strange behaviour when trying to lock and unlock
multiple times. I am using a USRP2 with the latest trunk of GNU Radio (just
compiled/update the firmware and updated FPGA code to the latest release),
and Ubuntu 8.10 Server as the OS.

The test script I am using is:

class top_block(gr.top_block):
    def __init__(self):
        gr.top_block.__init__(self)
        self._usrp_source = usrp2.source_32fc('eth1', '00:50:c2:85:30:6d')
        self.connect(self._usrp_source, gr.null_sink(8))

if __name__ == '__main__':
    app = top_block()
    app.start()
    for x in range (2):
        print str(x) + " Lock"
        app.lock()
        print str(x) + " Unlock"
        app.unlock()

    print "Pass"
    app.stop()

When I run this script it hangs on the second call of unlock and never makes
it to pass.

Any ideas?

Thank You,
Kieran
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to