[Top][All Lists]

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

[Discuss-gnuradio] tune_request feature for UHD's USRP blocks in GRC

From: Josh Blum
Subject: [Discuss-gnuradio] tune_request feature for UHD's USRP blocks in GRC
Date: Tue, 20 Sep 2011 19:33:29 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13

A few people have mentioned wanting to tune the UHD's USRP source/sink
block without any tune error correction in the FPGA DSP. Described here:

So you can do this in python with tune_request as follows:
tr = uhd.tune_request(target_freq)
tr.dsp_freq = 0
tr.dsp_freq_policy = uhd.tune_request.POLICY_MANUAL

However, this is cumbersome to setup the struct inside GRC. So, I added
a convenience constructor that initializes the struct using **kwargs:
Inside the tune frequency parameter, use this one-liner instead:
uhd.tune_request(target_freq, dsp_freq=0,

If you want to use this feature, go ahead and cherry-pick this change. I
tested out that the constructor works but have not yet given it a live


reply via email to

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