Hi Fengyang,

These are calls to the UHD API within your application.

There are several examples here [0] of using the UHD API. I would encourage
you to checkout specifically these examples [1],[2] as a starting point.
Additionally there is this app note [3] which shows how to get started with
the init_usrp example to setup a cmake file. This section [4] of the UHD
manual is also useful for the API reference.

Additionally you'll need to make sure the jumper at J510 is set to the
correct position for an external reference. I've attached a diagram for
setting up a GPSDO on N210 (only example I have at the moment). Instead of
setting the jumper to 2/3 for GPSDO, you should make sure it is on pins 1/2
for the external ref in.

[0] - https://github.com/EttusResearch/uhd/tree/master/host/examples
[1] -
https://github.com/EttusResearch/uhd/blob/master/host/examples/rx_samples_to_file.cpp
[2] -
https://github.com/EttusResearch/uhd/blob/master/host/examples/rx_multi_samples.cpp
[3] - https://kb.ettus.com/Getting_Started_with_UHD_and_C%2B%2B
[4] - https://files.ettus.com/manual/page_uhd.html

Regards,
Nate Temple

On Tue, Aug 20, 2019 at 11:09 AM Jiang, Fengyang via USRP-users <
usrp-users@lists.ettus.com> wrote:

> Hi all,
>
> I'm trying to synchronize 2 USRP N210 devices using the OctoClock-G
> CDA-2990 as external 10MHz reference and PPS sources. It is said that I
> need to set up two configurations:
>
> usrp->set_clock_source("external");
> usrp->set_time_source("external");
>
> Which file in which path should I modify in order to apply these
> configurations? Thanks a lot!
>
> Best regards,
> Fengyang Jiang
> _______________________________________________
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to