-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[UHD Python API] Unable to synchronize two x310 in PPS #791
Comments
Hey @CarlosHdezUAH, synchronizing is the same between C++ and Python. Most importantly, you need to sync the clocks to the PPS edge, in Python, it goes like this: https://github.com/EttusResearch/uhd/blob/master/host/examples/python/benchmark_rate.py#L411-L413 You can also read the various C++ examples on how to synchronize, or the manual. As this is not a bug report, I'm closing it (the mailing list is a great place to ask these questions). Good luck with your app! |
I am trying to acquire samples with the following equipment:
Two x310 (Dual 10GbE each), each x310 has internally two TwinRX and a meimberg card for reference signal generation and PPS. The oscillators of the first twinRX are exported via hardware with splitters to the rest of the twinRX (as well as to itself back so that they all have the same delay).
I am using UHD version 4.6.0.0.0 and the Python API.
Here is the code I have implemented:
The problem is the following: All channels of the same x310 are synchronized with each other, but when I try to check the synchronization of a channel of one card with another channel of the other card, they are not synchronized. Regarding this I have read the following: “set the time at a PPS edge to the same time on both devices” and “only use timed commands to start and stop the stream”, but I am not sure how to implement it.
I have also heard that this problem is happening to more people, has it happened to you?
Could it be related to the UHD version or the Python API?
The text was updated successfully, but these errors were encountered: