discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Confirming uhd.set_command_time is working


From: Martin Braun
Subject: Re: [Discuss-gnuradio] Confirming uhd.set_command_time is working
Date: Mon, 27 Apr 2015 16:20:16 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Which USRP is this?

M

On 27.04.2015 15:03, Anderson, Douglas J. wrote:
> Hi all,
> 
> I'm playing around with timed commands on the USRP, but I'm not sure I
> understand them correctly.
> 
> I've got a usrp connected as "u" and set to center freq 700e6.
> 
>>>> u.set_command_time(u.get_time_now() + uhd.time_spec(2));
> u.set_center_freq(800e6); u.clear_command_time();
> print(u.get_center_freq()); time.sleep(2); print(u.get_center_freq())
> -- Successfully tuned to 800.000000 MHz
> -- 
> <gnuradio.uhd.uhd_swig.tune_result_t; proxy of <Swig Object of type
> '::uhd::tune_result_t *' at 0x7f1b75a3b930> >
> 800000000.0
> [... 2 second pause is here ...]
> 800000000.0
> 
> It looks like it's changing the freq immediately... but I'm assuming as
> usual there's more than meets the eye to this command. Any hints?
> 
> -Doug
> 
> 
> _______________________________________________
> 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]