Skip to content
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

Meaning of SOAPY_SDR_TIME_ERROR in readStreamStatus() #361

Closed
schneider42 opened this issue Mar 24, 2022 · 1 comment
Closed

Meaning of SOAPY_SDR_TIME_ERROR in readStreamStatus() #361

schneider42 opened this issue Mar 24, 2022 · 1 comment

Comments

@schneider42
Copy link
Contributor

I'm currently working with a LimeSDR and noticed that it is dropping samples, but gr-soapy is not reporting that.

Further investigation showed that in my case it was dropping samples inside the driver where USB transfers are handled. SoapyLMS7 does report that via readStreamStatus(): https://github.com/myriadrf/LimeSuite/blob/master/SoapyLMS7/Streaming.cpp#L503

My goal is to extend gr-soapy to at least print a warning when this happens. Now I'm wondering: what is the exact meaning of SOAPY_SDR_TIME_ERROR?

Is it possible that the SoapyLMS7 makes use of the flag in an unexpected way? Should this flag generally be treated as an indication of "lost samples"?

@schneider42
Copy link
Contributor Author

schneider42 commented Mar 24, 2022

Sorry, wrong repository. This was meant for pothosware/SoapySDR#350

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant