|
From: | Jon West |
Subject: | Re: [Discuss-gnuradio] Move USRP LO with USRP sink block? |
Date: | Tue, 10 Feb 2015 14:04:23 -0500 |
There's a uhd.tune_request() function mapped into Python land, so you can use the result of that as the "freq" parameter in a UHD sink block.
On 2015-02-10 13:55, Jon West wrote:
When I transmit a signal at a certain frequency there is a large spike at what I have set the center frequency of the USRP. My signal does not have this large spike, because it is the LO of the USRP. We take care of this in things we write ourselves, but I can't find the documentation to do it for the GRC block. Here is the code I would normally use to tune the LO to something else, but still have my signal appear at the center frequency I would likeusrp::multi_usrp::sptr u2;u2 = usrp::multi_usrp::make(dev_addr_vec[usrpId]);...uhd::tune_result_t tune_res;// tune with lo offsetoffset_freq_Hz = usrpConfig->rx_lo_offset_MHz * 1e6;uhd::tune_request_t tune_req(usrpConfig->rx_freq_Hz, offset_freq_Hz);tune_res = u2->set_rx_freq(tune_req);
On Mon, Feb 9, 2015 at 1:13 PM, Marcus D. Leech <address@hidden> wrote:
On 02/09/2015 11:53 AM, Jon West wrote:I'm afraid you're going to have to expand on what you mean by the above.Is there a setting to move the USRP LO in the SINK block? Not in code, in the block, I'm am integrating another developers system and need to use the GRC block_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
-- Marcus Leech Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |