On 12/09/2019 03:11 PM, Lukas Haase wrote:

No, I only have one RX channel at the moment.
--> One TX @ f and one RX @ 2f.
The phase relation between this TX+RX should stay constant/coherent once both 
TX+RX tune to a different f and back.

Let me know if the setup is clear, otherwise I'll try to draw a block 
diagram/equations or I can also send the GRC screenshots.

Thanks,
Luke


You code shows two RX channels:

        now = self.uhd_usrp_sink_0.get_time_now()
         self.uhd_usrp_sink_0.set_command_time(now + uhd.time_spec(1))
         self.uhd_usrp_source_0.set_command_time(now + uhd.time_spec(1))

         self.uhd_usrp_source_0.set_center_freq(2*self.fcenter, 0)
         self.uhd_usrp_source_0.set_center_freq(2*self.fcenter, 1)
         self.uhd_usrp_sink_0.set_center_freq(self.fcenter, 0)

         self.uhd_usrp_source_0.clear_command_time()
         self.uhd_usrp_sink_0.clear_command_time()

So, you're measuring the phase-offset between the TX side and the RX side at the 2nd harmonic, and expecting that phase relationship to be
  the same across re-tunes?   I'm not sure that's possible.





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

Reply via email to