|
From: | Marcus Leech |
Subject: | Re: [Discuss-gnuradio] Correct idiom for frequency-setting when you don't have a tuner-type daughtercard? |
Date: | Sat, 24 Jun 2006 15:15:37 -0400 |
User-agent: | Thunderbird 1.5.0.4 (X11/20060516) |
Eric Blossom wrote:
That returned an error when used with a BASIC_RX card--with the latest CVS image.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
In the particular instance, target_freq was 10.7e6, which prompted an error. I would expect
a BASIC_RX card to be able to "tune" to 10.7Mhz.I looked around for an example that was designed for the BASIC_RX card, and found am_rcv.py, which uses the set_rx_freq() interface into USRP. This seemed to work
OK, which is why I tweaked my code the way I did.
[Prev in Thread] | Current Thread | [Next in Thread] |