[USRP-users] get position and status info from N210's internal GPSDO
michael.west at ettus.com
Thu Oct 15 13:39:12 EDT 2015
The time on the N210 is no longer set tot the GPS time automatically (as of
UHD 3.9.0), but it is fairly easy to do. In Python:
# set clock and time sources to GPSDO
# wait for PPS edge
t = self.usrp.get_time_last_pps()
while (t == self.usrp.get_time_last_pps())
# set the time from the GPS time
# wait for a second to make sure the time is set
With that done, the time tags will be the GPS time. Here are the calls to
get the other GPS sensor data:
You will more than likely have to write your own Python script to have
everything you need, but I hope this helps.
On Mon, Sep 28, 2015 at 3:02 AM, Anselm Karl via USRP-users <
usrp-users at lists.ettus.com> wrote:
> Hi everone,
> I´ve got a N210 with an internal GPSDO. Besides the base band signal from
> the usrp i want to record the position (and maybe the gps receiver's
> status) to a (or several) files. And i want to reference the recorded base
> band signal to the gps time.
> The UHD manual says the VITA timestamps are set to gps time (if the gps
> receiver has reception). Does that mean the rx_time tag in gnu radio is gps
> time, too?
> Is it possible to do the position recording in GRC or will i have to do my
> own phyton script? Any example code would be great!
> Mit freundlichen Grüßen
> *Anselm Karl*
> USRP-users mailing list
> USRP-users at lists.ettus.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the USRP-users