# RTDE Connection

**URL:** <https://forum.universal-robots.com/t/rtde-connection/41562>\
**Category:** Robot Communication\
**Created:** [October 22, 2025, 8:53am UTC](https://forum.universal-robots.com/t/rtde-connection/41562 "2025-10-22T08:53:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![stevennn](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@stevennn](https://forum.universal-robots.com/u/stevennn)\
**Post date:** [October 24, 2025, 7:25am UTC](https://forum.universal-robots.com/t/rtde-connection/41562/3 "2025-10-24T07:25:06Z")

</div>

Hi,  
I’ve found a potential solution, but I’m still testing it to confirm whether it really works.

For context, I’m using a program for testing purposes, and originally it included a `time.sleep(1 hour)` delay. After that i need to get actual Joint position, and sometimes it gets error. I replaced that with a `while` loop that frequently calls `rtde_receive` to receive information.

[Connection to Robot keeps breaking unexpectedly (#102) · Issues · SDU Robotics / ur\_rtde · GitLab](https://gitlab.com/sdurobotics/ur_rtde/-/issues/102)  
From the reference I found, it was suggested to use a wired connection,

> [@RTDE times out after 10s](https://forum.universal-robots.com/t/rtde-times-out-after-10s/22784/2):
>
> Receive has to be called frequently, otherwise input buffers overflow. UR should be more explicit about that in the API documentation. Thanks for reporting.

And from this reference i found, the buffer can overflow if you don’t continuously retrieve data.

So, my approach is to call `getActualTCP()` and `getActualQ()` frequently, as those are the only pieces of information I need. So far, it’s been working, but I’m still in the testing phase to make sure it’s stable.

---

_[View the full topic](https://forum.universal-robots.com/t/rtde-connection/41562)._
