Re: [USRP-users] API for PPS input validation

2017-11-07 Thread Rob Kossler via USRP-users
Dario, 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. Rob On Tue, Nov 7, 2017 at 11:02 AM, Dario Fertonani via USRP-users <

Re: [USRP-users] API for PPS input validation

2017-11-07 Thread Dario Fertonani via USRP-users
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

[USRP-users] API for PPS input validation

2017-11-04 Thread Dario Fertonani via USRP-users
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" );