# RTDE input parameters already in use - Ethernet/IP Adapter

**URL:** <https://forum.universal-robots.com/t/rtde-input-parameters-already-in-use-ethernet-ip-adapter/860>\
**Category:** Technical Questions\
**Tags:** rtde, error-code, fieldbus\
**Created:** [June 7, 2017, 3:33pm UTC](https://forum.universal-robots.com/t/rtde-input-parameters-already-in-use-ethernet-ip-adapter/860 "2017-06-07T15:33:06Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon66078437](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@anon66078437](https://forum.universal-robots.com/u/anon66078437)\
**Post date:** [June 7, 2017, 3:33pm UTC](https://forum.universal-robots.com/t/rtde-input-parameters-already-in-use-ethernet-ip-adapter/860/1 "2017-06-07T15:33:07Z")

</div>

Hello,

I recently exchanged my UR5 running RTDE version 3.3 for a UR10 running RTDE version 3.4. Now I was setting up RTDE to exchange position data between my PC and the UR5, sending doubles to 6 input registers on the robot, just like in the example\_control\_loop.py.  
But now, I cannot even get the example to work anymore. Everytime I try to set up my input parameters using the example\_control\_loop.py file, it says “input parameter already in use”.

I get that exception when  
`setp = con.send_input_setup(setp_names, setp_types)`  
is executed. I have not modified anything in the example, except for the robot IP address.

I am using:  
Python 2.7.13  
Windows 10

Hope you can help me,

Alexander

---

<div class="post-metadata">

**Author:** ![anon75497214](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@anon75497214](https://forum.universal-robots.com/u/anon75497214)\
**Post date:** [June 13, 2017, 2:25pm UTC](https://forum.universal-robots.com/t/rtde-input-parameters-already-in-use-ethernet-ip-adapter/860/2 "2017-06-13T14:25:04Z")

</div>

Did you manage to solve this?

I have the same problem in my project. But only sometimes this ValueError is raised. I suppose that the socket was not properly disconnected in the last run and the robot-side is expecting the old connection and blocks somehow? I just wonder how to overcome this?  
I tried to catch all ValueErrors in these input/output setup calls and then to disconnect and connect again but it didn’t work. A function in the rtde package that resets the connection properly would be very helpful.

---

<div class="post-metadata">

**Author:** ![anon66078437](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@anon66078437](https://forum.universal-robots.com/u/anon66078437)\
**Post date:** [July 3, 2017, 3:35pm UTC](https://forum.universal-robots.com/t/rtde-input-parameters-already-in-use-ethernet-ip-adapter/860/3 "2017-07-03T15:35:38Z")

</div>

Unfortunately I have not been able to solve this, no. And since developer support seems to be huge here, I’m not sure I will get this solved…  
For me, it happened using a brand new Robot we got, so I never actually established a connection with it. Maybe something didn’t get properly disconnected with the old robot, but that should still make no difference i think.

Well who knows, maybe someone will eventually reply here.

---

<div class="post-metadata">

**Author:** ![anon16416181](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@anon16416181](https://forum.universal-robots.com/u/anon16416181)\
**Post date:** [July 4, 2017, 2:51pm UTC](https://forum.universal-robots.com/t/rtde-input-parameters-already-in-use-ethernet-ip-adapter/860/4 "2017-07-04T14:51:34Z")

</div>

@anon66078437 SW 3.3 uses a different RTDE library than SW 3.4. Have you tried updating the files to the ones that are available in the support site? [https://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/real-time-data-exchange-rtde-guide-22229/](https://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/real-time-data-exchange-rtde-guide-22229/)

I’ve had some problems myself with this, but after using those files with SW 3.4 everything went well.

---

<div class="post-metadata">

**Author:** ![mmi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/mmi/32/691_2.png) [@mmi](https://forum.universal-robots.com/u/mmi)\
**Post date:** [July 20, 2017, 1:37pm UTC](https://forum.universal-robots.com/t/rtde-input-parameters-already-in-use-ethernet-ip-adapter/860/5 "2017-07-20T13:37:36Z")

</div>

Just refreshing topic.  
If you ever get ‘An input parameter is already in use.’ error then first ssh to robot, and check if there is any client attached to RTDE port 30004  
`netstat --all --program | grep 30004`  
Normally there should be just one established connection from flightrecorder in polyscope on localhost. If you see more connections either from localhost or remote, then one of these processes may still hold input variables.  
Input variables are released when connection is closed.

---

<div class="post-metadata">

**Author:** ![anon66078437](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@anon66078437](https://forum.universal-robots.com/u/anon66078437)\
**Post date:** [July 21, 2017, 9:00am UTC](https://forum.universal-robots.com/t/rtde-input-parameters-already-in-use-ethernet-ip-adapter/860/6 "2017-07-21T09:00:49Z")

</div>

@anon16416181 I already updated all my files because I was suspecting something like that, but even using the example from the brand new file did not work, but thank you anyway.

@mmi thank you, I will try your solution as soon as possible and will post my results here

---

<div class="post-metadata">

**Author:** ![anon66078437](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@anon66078437](https://forum.universal-robots.com/u/anon66078437)\
**Post date:** [October 12, 2017, 12:44pm UTC](https://forum.universal-robots.com/t/rtde-input-parameters-already-in-use-ethernet-ip-adapter/860/7 "2017-10-12T12:44:42Z")

</div>

@mmi I forgot to post my results, but it worked, thanks! I just reset everything and then I could use RTDE

---

<div class="post-metadata">

**Author:** ![roba](https://avatars.discourse-cdn.com/v4/letter/r/bbe5ce/32.png) [@roba](https://forum.universal-robots.com/u/roba)\
**Post date:** [May 28, 2018, 11:46pm UTC](https://forum.universal-robots.com/t/rtde-input-parameters-already-in-use-ethernet-ip-adapter/860/8 "2018-05-28T23:46:09Z")

</div>

Hi @anon66078437, Im dealing with this exact problem right now. How did you and up reseting the existing RTDE connection? I’ve already tried directly killing the process and even updating the controller.

---

<div class="post-metadata">

**Author:** ![anon66078437](https://avatars.discourse-cdn.com/v4/letter/a/87869e/32.png) [@anon66078437](https://forum.universal-robots.com/u/anon66078437)\
**Post date:** [May 29, 2018, 5:10pm UTC](https://forum.universal-robots.com/t/rtde-input-parameters-already-in-use-ethernet-ip-adapter/860/9 "2018-05-29T17:10:21Z")

</div>

@roba I did exactly what was explained by @mmi to solve the problem. I hooked up my PC onto the same network as the UR, ssh’ed into it using default credentials (PW should be “easybot” i think) and launched the above command. That did the trick for me.

---

<div class="post-metadata">

**Author:** ![roba](https://avatars.discourse-cdn.com/v4/letter/r/bbe5ce/32.png) [@roba](https://forum.universal-robots.com/u/roba)\
**Post date:** [May 29, 2018, 5:27pm UTC](https://forum.universal-robots.com/t/rtde-input-parameters-already-in-use-ethernet-ip-adapter/860/10 "2018-05-29T17:27:02Z")

</div>

Thanks, but I have just solved the problem. for me, the fix was to go to the installation and disable the EtherNet/IP adapter.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/system/32/1_2.png) [@system](https://forum.universal-robots.com/u/system)\
**Post date:** [January 26, 2021, 10:18pm UTC](https://forum.universal-robots.com/t/rtde-input-parameters-already-in-use-ethernet-ip-adapter/860/11 "2021-01-26T22:18:20Z")

</div>

Closed on January 26, 2021, 10:18pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
