On Wed, Jul 01, 2009 at 11:38:53AM -0500, Jason Uher wrote: > >> I believe if you have two daughter cards it is possible to run the > >> benchmark_*x scripts on the same USRP but different daughtercards, but > >> I think you need to combine them into a single flow graph. If I > > > You can't run benchmark_tx and _rx using one USRP and two > > daughtercards. The two sides of the USRP aren't fully independent. > > > > Eric > > > > > Even if you combine the code into a single flowgraph?
Sorry, you're right. The tunnel code does something very much like what you have below. The problem I was thinking of was the case where you're trying to run two daughterboards, each of which is trying to run half-duplex, and the Tx/Rx timing on the two sides is independent. In that case the Auto-TR stuff gets in the way. Eric > It's been a > very long time since I tried it, so maybe there are new firmware > changes I'm not aware of; but I know that I've gotten something like > the following working with the *_path files modified to use different > daughterboards and the passed usrp object: > > class my_top_block(gr.top_block): > def __init__(self, demodulator, rx_callback, options): > gr.top_block.__init__(self) > > (SNIP: Set up the usrp here) > > self.rxpath = receive_path(self.usrp, demodulator, > rx_callback, options) > self.connect(self.rxpath) > > self.txpath = transmit_path(self.usrp, demodulator, options) > self.connect(self.txpath) > _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
