# URCap Daemon vs Thread

**URL:** <https://forum.universal-robots.com/t/urcap-daemon-vs-thread/36781>\
**Category:** Java\
**Created:** [October 31, 2024, 12:10pm UTC](https://forum.universal-robots.com/t/urcap-daemon-vs-thread/36781 "2024-10-31T12:10:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![berend](https://avatars.discourse-cdn.com/v4/letter/b/b487fb/32.png) [@berend](https://forum.universal-robots.com/u/berend)\
**Post date:** [October 31, 2024, 12:10pm UTC](https://forum.universal-robots.com/t/urcap-daemon-vs-thread/36781/1 "2024-10-31T12:10:29Z")

</div>

If I want to create functionality for the cobot that runs independently of the robot program. For example read information from the primary interface and do some data processing before displaying it. Can I just create a thread in my URCap activator or is this not recommended for some reason? I haven’t seen this mentioned, all I’ve seen is that a Daemon could be used to run customary code at runtime.

---

<div class="post-metadata">

**Author:** ![eric.feldmann](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@eric.feldmann](https://forum.universal-robots.com/u/eric.feldmann)\
**Post date:** [October 31, 2024, 1:36pm UTC](https://forum.universal-robots.com/t/urcap-daemon-vs-thread/36781/2 "2024-10-31T13:36:33Z")

</div>

Right or wrong I’ve spun up a few threads in the Activator to monitor some stuff. Been working OK for me. I do also use a Daemon for interacting with some other hardware though.
