[USRP-users] API for PPS input validation
rkossler at nd.edu
Tue Nov 7 17:32:26 EST 2017
Perhaps with the time source set to external, you can just check the time
of the last PPS (get_time_last_pps) and if it's more than 1 sec old
(relative to get_time_now), there is no PPS detected.
On Tue, Nov 7, 2017 at 11:02 AM, Dario Fertonani via USRP-users <
usrp-users at lists.ettus.com> wrote:
> On B210, the function
> get_mboard_sensor_names( )
> returns only "ref_locked" (output confirmed by "uhd_usrp_probe"), so it
> seems the answer to the question in this thread is negative. Can anybody
> please confirm whether this is correct? It would be very useful to know if
> the PPS signal input is actually being used.
> On Sat, Nov 4, 2017 at 9:50 AM, Dario Fertonani <dario.fertonani at gmail.com
> > wrote:
>> I was wondering if it's possible to check via software API whether the
>> PPS reference input is connected. Something along the lines of the API that
>> checks whether the 10 MHz reference input is connected (see red part of the
>> snippet below).
>> rfBoardPtr->set_clock_source( "external" );
>> //more code, and give the board time to lock to the reference input
>> assert( rfBoardPtr->get_mboard_sensor( "ref_locked" ).to_bool( ) );
> USRP-users mailing list
> USRP-users at lists.ettus.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the USRP-users