# URControl answer not readable

**URL:** <https://forum.universal-robots.com/t/urcontrol-answer-not-readable/15745>\
**Category:** Robot Communication\
**Created:** [August 3, 2021, 3:05pm UTC](https://forum.universal-robots.com/t/urcontrol-answer-not-readable/15745 "2021-08-03T15:05:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon36527660](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anon36527660](https://forum.universal-robots.com/u/anon36527660)\
**Post date:** [August 3, 2021, 3:05pm UTC](https://forum.universal-robots.com/t/urcontrol-answer-not-readable/15745/1 "2021-08-03T15:05:19Z")

</div>

Hello, I wanted to create a small script using urscript language and test it.  
Since polyscope only can handle urp+text files, I send commands to urcontrol directly as adviced [here](https://forum.universal-robots.com/t/sending-and-running-a-script-through-tcp-ip-connection/10627/3)  
(though I’ve seen a recommendation to use RTDE instead)  
when I send commands to the URControl

- nothing happens
- it throws an unreadable output to me (See picture)

Info that might be usable: system virtual lubuntu from Starter Package 1.13, URSoftware 3.15.0.106151, ursim shows Disabled Network

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/1/1a889b7a19225a5137db81bdc5c33ddb05995918.png)

---

<div class="post-metadata">

**Author:** ![ajp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ajp/32/471_2.png) [@ajp](https://forum.universal-robots.com/u/ajp)\
**Post date:** [August 4, 2021, 1:27am UTC](https://forum.universal-robots.com/t/urcontrol-answer-not-readable/15745/3 "2021-08-04T01:27:36Z")

</div>

Hi @anon36527660,

- It should work without the newline character, that’s only required for dashboard server not client interfaces.
- The non human readable output is as expected, it’s a byte stream that would need to be unpacked.

As to whether doing it this way or using the RTDE is the best approach will depend on your use case/intended outcomes. If you can elaborate on these we can advise further.

Thanks.

---

<div class="post-metadata">

**Author:** ![anon36527660](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anon36527660](https://forum.universal-robots.com/u/anon36527660)\
**Post date:** [August 4, 2021, 7:43am UTC](https://forum.universal-robots.com/t/urcontrol-answer-not-readable/15745/4 "2021-08-04T07:43:40Z")

</div>

Thanks, without the newline character it really worked!  
plain  
`cat ./s.script | nc 10.0.2.15 30002`  
worked as well 🙂
