|
From: | Anderson, Douglas J. |
Subject: | Re: [Discuss-gnuradio] Confirming uhd.set_command_time is working |
Date: | Wed, 29 Apr 2015 14:54:28 +0000 |
Martin,
Sorry for the slow reply. It's a USRP N210. I'm running a pybombs build of UHD and GNURadio that's about a month old.
Marcus,
Using "actual_rf_freq" and "actual_dsp_freq", I get:
about to issue tune command...
-- Successfully tuned to 800.000000 MHz
--
immediate tune result: 800.000000MHz RF, 0.000000 Hz DSP
get_center_freq before sleep: 800.000000 MHz
get_center_freq after sleep: 800.000000 MHz
-Doug
From: discuss-gnuradio-bounces+address@hidden [discuss-gnuradio-bounces+address@hidden on behalf of Marcus Müller address@hidden
Sent: Tuesday, April 28, 2015 1:38 AM To: address@hidden Subject: Re: [Discuss-gnuradio] Confirming uhd.set_command_time is working Hi Doug,
I'm not 100%, but: Getting the center frequency might be a command which will also end up in the timed command queue. What happens if you: u.set_command_time(u.get_time_now() + uhd.time_spec(2)) print("about to issue tune command...") result = u.set_center_freq(800e6) u.clear_command_time() print("immediate tune result: {:f}MHz RF, {:f} Hz DSP".format(result.rf_freq/1e6, result.dsp_freq)) print("get_center_freq before sleep: {:f} MHz".format(u.get_center_freq()/1e6)) time.sleep(2) print("get_center_freq after sleep: {:f} MHz".format(u.get_center_freq()/1e6)) Greetings, Marcus On 04/28/2015 12:03 AM, Anderson, Douglas J. wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |