# Urcap running in the background that reading TCP and manipulating IOs

**URL:** <https://forum.universal-robots.com/t/urcap-running-in-the-background-that-reading-tcp-and-manipulating-ios/23749>\
**Category:** URCap Development\
**Created:** [September 9, 2022, 8:48am UTC](https://forum.universal-robots.com/t/urcap-running-in-the-background-that-reading-tcp-and-manipulating-ios/23749 "2022-09-09T08:48:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ted.morell](https://avatars.discourse-cdn.com/v4/letter/t/958977/32.png) [@ted.morell](https://forum.universal-robots.com/u/ted.morell)\
**Post date:** [September 9, 2022, 8:48am UTC](https://forum.universal-robots.com/t/urcap-running-in-the-background-that-reading-tcp-and-manipulating-ios/23749/1 "2022-09-09T08:48:55Z")

</div>

Hi,

I am new to URCap development.  
I am trying to develop an Urcap that would have the following functions:

- Continuous operation once the URCap is active
- Real time reading of the TCP
- Manipulation of outputs (configurable outputs if possible) according to TCP values.

Thanks to the program [GitHub - BomMadsen/URCap-getRobotData: URCap that reads a message from the Universal Robots (UR) Realtime Client on TCP port 30003.](https://github.com/BomMadsen/URCap-getRobotData). I am able to read the TCP values in real time. However, I don’t know which URCap in the Installation tab is running continuously?

Also, I am unable to manipulate the I/O as in the LightUP URCap in the tutorial by calling the function writer.appendline(“set\_standard\_digital\_out(0,True)”) for example.

Do you have any advice or tips to give me in order to achieve my goal?

With kind regards,  
Ted Morell
