[USRP-users] UHD Timed Commands
nigel.steed at xenint.com
Tue Mar 1 10:45:34 EST 2016
I have repeated this to print out the N210 time from the C code UHD Source Block and this works fine. Does that mean you cannot get time commands working in python if its not reading the fractional time correctly ?
Is there a method to read the time from the 2 N210 individually, as I have them configured as one UHD source block with 2 channels ?
From: USRP-users [mailto:usrp-users-bounces at lists.ettus.com] On Behalf Of Nigel Steed via USRP-users
Sent: 01 March 2016 15:00
To: usrp-users at lists.ettus.com; support at ettus.com
Subject: [USRP-users] UHD Timed Commands
I have tried to issue timed commands to two separate N210/SBX by using the following python code:
# Determine a time in the future to setup a time command
rx_cmd_time = self.uhd_usrp_source_rx.get_time_last_pps()
rx_real_seconds = uhd.time_spec_t.get_real_secs(rx_cmd_time)
future_rx_real_seconds = rx_real_seconds + 2
future_rx_cmd_time = uhd.time_spec(future_rx_real_seconds)
# Set a timed command in the future
# Tune the receivers
# Clear the timed command
# Tune the transmitter
I do not understand the time values that get printed. They always have the same values after the decimal point as follow:
I also have 2 channels on the usrp_source representing the two separate N210/SBX units. How is it possible to view the time counter from each channel to ensure both N210/SBX units have the same value ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the USRP-users