On Sat, Jun 24, 2006 at 12:52:11PM -0400, Marcus Leech wrote:
> I'm modifying my radio astronomy applications to support other than
> tuner-type daughtercards.
>
> Is this roughly correct for supporting such cards (BASIC_RX is the only
> one I know of)?
I believe usrp.tune works correctly with all daughterboards.
Or slightly more compactly:
r = self.u.tune(0, self.subdev, target_freq)
Eric
> #
> # Everything except BASIC_RX should support usrp.tune()
> #
> if not (self.cardtype == usrp_dbid.BASIC_RX):
> r = usrp.tune(self.u, 0, self.subdev, target_freq)
> else:
> r = self.u.set_rx_freq(0, target_freq)
> f = self.u.rx_freq(0)
> if (abs(f-target_freq) > 2.0e3:
> r = 0
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio