[USRP-users] API for PPS input validation

Dario Fertonani dario.fertonani at gmail.com
Tue Nov 7 11:02:35 EST 2017

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>

> 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).
> Thanks,
> Dario
> 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( ) );
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20171107/46f3a5e4/attachment-0002.html>

More information about the USRP-users mailing list