Forum: GNU Radio Change frequency at runtime

Posted by usrp n210 (Guest)
on 2012-10-31 22:22
(Received via mailing list)
I want to change the frequency at run-time for ofdm,How I can do so can
anybody provide me any pointers ?
Posted by Tom Rondeau (Guest)
on 2012-10-31 22:30
(Received via mailing list)
On Wed, Oct 31, 2012 at 5:21 PM, usrp n210 <usrpn210@gmail.com> wrote:
> I want to change the frequency at run-time for ofdm,How I can do so can
> anybody provide me any pointers ?

Use the uhd.tune() function.

Tom
Posted by Josh Blum (Guest)
on 2012-10-31 22:35
(Received via mailing list)
On 10/31/2012 02:21 PM, usrp n210 wrote:
> I want to change the frequency at run-time for ofdm,How I can do so can
> anybody provide me any pointers ?
>

Its the same call you would use at initialization time:

usrp_source/sink.set_center_freq(..)
http://gnuradio.org/cgit/gnuradio.git/tree/gr-uhd/...

-josh
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.