Hello,

I would like to know how local oscillators work when they are in COMPANION
mode.

I'm working with an x310 and my intention is that channel 0 exports its LO
to the rest of the channels and to itself. In this way the signal from all
the LOs go the same way.

When I configure the x310 so that the CH0 exports its LO at the same time
that it is as external I get the following error.








*Actual RX Bandwidth: 100.000000 MHz...Setting LO source...Unexpected
Standard exception from MEX file.What() is:ValueError: Cannot export an
external LO for channel 0.. *
This is my code:





*std::string lo_src = "companion", lo_src1 = "internal", lo_src2 =
"external";std::cout << boost::format("Setting LO source...")  << std::endl
<< std::endl;    usrp->set_rx_lo_export_enabled(true
,uhd::usrp::multi_usrp::ALL_LOS, 0); //habilitar la exportacion de
LO usrp->set_rx_lo_source(lo_src2, uhd::usrp::multi_usrp::ALL_LOS, 0);
usrp->set_rx_lo_source(lo_src2, uhd::usrp::multi_usrp::ALL_LOS, 1);*

When I use the companion mode in the CH0 instead of external I don't get
any error. However, I don't know exactly how LOs work internally.

I would appreciate if someone could explain me how the companion mode works.

Regards,

Anabel Almodóvar
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to