Consend(setp) causes [WinError 10054] An existing connection was forcibly closed by the remote host

First time using rtde driver v2.6 downloded from ur.org.
I loaded urp fie and started the robot. I can see it’s running in remote mode. Status shows “STOPPED”
I connected successfully. Run thought the example control loop code. Then it errored when I send new setp to robot.

consend(setp) caused

[WinError 10054] An existing connection was forcibly closed by the remote host

I wouldlike to at least move one oint to another using remote commands. What am I doing wrong?

I also tried to manually started running the URP program that immediately paused at step 8. ANd then I changed it to remote mode.

I ran the script again.

This time I can go pass consend(setp) but there is no movement. Robot is still in Paused state.

But, the next step con.send(watchdog) caused the same error.

This same command worked before I send setp command.

Wondering if there is a timing issue here…

My controler version is rtde:Controller version: 5.11.5.0

Is there a working (clean and simple) example script that I can work with?

Hello, Kyung. I had the same problem. Did you find any solution?