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)?
#
# 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