|
From: | Marcus Leech |
Subject: | [Discuss-gnuradio] Correct idiom for frequency-setting when you don't have a tuner-type daughtercard? |
Date: | Sat, 24 Jun 2006 12:52:11 -0400 |
User-agent: | Thunderbird 1.5.0.4 (X11/20060516) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |