discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Move USRP LO with USRP sink block?


From: Jon West
Subject: Re: [Discuss-gnuradio] Move USRP LO with USRP sink block?
Date: Tue, 10 Feb 2015 14:04:23 -0500

Right, where is this functionality in the USRP_SINK in GNURadio companion? Or do I need to create some kind of python wrapper?

On Tue, Feb 10, 2015 at 1:58 PM, <address@hidden> wrote:

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 like
 
 usrp::multi_usrp::sptr u2;
 
      u2 =  usrp::multi_usrp::make(dev_addr_vec[usrpId]);
 
...
 
      uhd::tune_result_t tune_res;
 
      // tune with lo offset
      offset_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:
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
I'm afraid you're going to have to expand on what you mean by the above. 



-- 
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]