# Using RTDE with PolyScopeX

**URL:** <https://forum.universal-robots.com/t/using-rtde-with-polyscopex/40291>\
**Category:** Technical Questions\
**Created:** [June 24, 2025, 9:47am UTC](https://forum.universal-robots.com/t/using-rtde-with-polyscopex/40291 "2025-06-24T09:47:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hanif.haghtalab](https://avatars.discourse-cdn.com/v4/letter/h/dbc845/32.png) [@hanif.haghtalab](https://forum.universal-robots.com/u/hanif.haghtalab)\
**Post date:** [June 24, 2025, 9:47am UTC](https://forum.universal-robots.com/t/using-rtde-with-polyscopex/40291/1 "2025-06-24T09:47:59Z")

</div>

Hello Community  
I am new to UR an I am going to utilize RTDE Communication protocol for a project , I pull the python project from [GitHub - UniversalRobots/RTDE\_Python\_Client\_Library: RTDE client library and examples](https://github.com/UniversalRobots/RTDE_Python_Client_Library) and follow great tutorials on youtube by simpleStudent [https://www.youtube.com/watch?v=N2nh3iG7kvo](https://www.youtube.com/watch?v=N2nh3iG7kvo) . The question I have faced is the rtde\_control\_loop.urp which I should have it in teach pendant , due to the fact that I have PolyScopeX on control Box ,so .urp version is not recognizable . Is there any way to convert .urp to .urpx for this case?

---

<div class="post-metadata">

**Author:** ![HungNguyen.HopLong](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/hungnguyen.hoplong/32/6617_2.png) [@HungNguyen.HopLong](https://forum.universal-robots.com/u/HungNguyen.HopLong)\
**Post date:** [June 25, 2025, 3:13am UTC](https://forum.universal-robots.com/t/using-rtde-with-polyscopex/40291/2 "2025-06-25T03:13:07Z")

</div>

I think there is currently no direct conversion from .upr to .urpx supported. I think you can do it indirectly by opening the rtde\_control\_loop.urp program in URsim, seeing what the commands are and rewriting the program in polyscopeX

---

<div class="post-metadata">

**Author:** ![mvosseler](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mvosseler](https://forum.universal-robots.com/u/mvosseler)\
**Post date:** [June 27, 2025, 6:45am UTC](https://forum.universal-robots.com/t/using-rtde-with-polyscopex/40291/3 "2025-06-27T06:45:48Z")

</div>

Currently, there is no official tool to directly convert urp-files to .urpx files. As far as I understand it UR rebuilt the whole way the robot-programm is built on maschine level. Hence it is also not possible to convert URcaps.

Beside the manual recration already meantioned you could try following:  
Each `.urp` program generates a corresponding `.script` file. You can extract the `.script` file from the old controller or USB. As far as I remember there is also a tutorial-section targeting that. Then use a use a Script node in PolyScopeX to load and execute the script file.

word of caution: some variables or functions may need adjustment due to differences in environment and syntax of PolyScopeX
