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

usrpReceive TIMEOUT change #8

Open
welchons opened this issue Dec 13, 2018 · 1 comment
Open

usrpReceive TIMEOUT change #8

welchons opened this issue Dec 13, 2018 · 1 comment

Comments

@welchons
Copy link

I have been working on the implementation of algorithms in REDHAWK using the REDHAWK USRP_UHD device for the USRP X-310. During this work I experienced problems with TIMEOUT errors on usrpReceive() calls. It seemed that once they started occurring, they occurred constantly, and my program could not recover. Another programmer here at Black River Systems provided a fix to me that he had used in his work using the UHD driver (not REDHAWK) with the USRP X-310. When the TIMEOUT error occurred, his fix was to disable the stream, wait 1 msec, and then enable the stream. I tried making this change to USRP_UHD.cpp, and it seemed to limit the TIMEOUT problems to rare non-interfering 1-time events (once every few minutes). I cloned the master version of USRP_UHD, made the change to it, and then saved it back to my own user account at
https://github.com/welchons/USRP_UHD

The lines that I modified/added are lines 1598-1601 shown below:
https://github.com/welchons/USRP_UHD/blob/usrp-receive-timeout-change/cpp/USRP_UHD.cpp#L1598

@faiksgr
Copy link

faiksgr commented Jan 15, 2019

Thank you for reporting this issue. We have added it to the backlog to be worked in future development iterations.

@shmahon shmahon transferred this issue from RedhawkSDR/redhawk Apr 28, 2020
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

2 participants