Example #1
0
void get_usrp_time(multi_usrp::sptr usrp, size_t mboard, std::vector<time_t> *times){
    (*times)[mboard] = usrp->get_time_now(mboard).get_full_secs();
}
Example #2
0
void get_usrp_time(multi_usrp::sptr usrp, size_t chan, std::vector<time_t> *times){
    wait_for_pps(usrp, chan, 2);
    (*times)[chan] = usrp->get_time_now(chan).get_full_secs();
}