On 12/15/2018 08:02 AM, Arun kumar Verma via USRP-users wrote:
Dear Users

I am facing problem of phase offset when i change center frequency dynamically for TwinRX with X310 setup. Here is my C++ code,

Please advise

usrp_source1->set_rx_lo_source("internal",uhd::usrp::multi_usrp::ALL_LOS,0);
usrp_source1->set_rx_lo_source("companion",uhd::usrp::multi_usrp::ALL_LOS,1);

usrp_sourceDOA1->set_command_time(usrp_sourceDOA1->get_time_now() + uhd::time_spec_t(0.01));
usrp_sourceDOA1->set_center_freq(m_CenterFrequency,0);
usrp_sourceDOA1->set_center_freq(m_CenterFrequency,1);
                usrp_sourceDOA1->clear_command_time();

I feel set_command_time is not working properly. When i start the X310 my phase difference is almost zero but as i change my frequency pjhase difference is random in nature.

Regards,
Arun Verma

COuld you explain your setup a bit more here.

I now see that you have both usrp_source1 and usrp_sourceDOA1, but I think you said that you have a single X310, so I'm confused about
  why you apparently have two USRP sources here.


_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to