HI Marcus, this timestamp in the metadata is not the accurate timestamp this timestamp is computed from the the sample count so the accuracy is depend on the accuracy of the on board crystal. so why i want to know the time of last pps because usrp do not keep the time sync to PPS. the sync only happen when set the time of PPS. for example when set next pps time to 0 seconds then after 1 hour the pps time should be 3600 seconds but for the error of the on board crystal so the pps time is 3600+-error. so we need to keep to know the time of pps for long time sync.
________________________________ From: Marcus Müller <marcus.muel...@ettus.com> Sent: Sunday, May 23, 2021 7:53 PM To: Oscar Pablo <oscar_pab...@outlook.com>; usrp-users@lists.ettus.com <USRP-users@lists.ettus.com> Subject: Re: [USRP-users] how to get time of last pps during streaming Hi Oscar, the metadata contains a timestamp. That's literally a timestamp – If you know the time at *any* PPS, for example because you set it, then you can directly infer the time at the last PPS from the timestamp. However, usually people care about the time of a sample, not the time at the last PPS. Best regards, Marcus On 23.05.21 04:36, Oscar Pablo wrote: > Hi, > i want to know the time of each pps during rx streaming. i don't know if i > call > get_time_last_pps will cause the overload? is there a way to let uhd put time > of last > pps in the meta data of the received data? > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-le...@lists.ettus.com
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com