Universal Robots Forum

Debugging python daemon

Hi together,
I want to use an daemon in my UrCap.
So I think I implemented the daemonService and started the daemon without an error.

If I start the python script manually on the Laptop it works fine.

But the output of my python script isn’t displayed in the terminal.
Is there an possibility to check if my daemon is working?
Is there a possibility to debug the daemon, while the PolyScope is working?

Thanks for your help,



You can write to a file to check if your daemon is running.

For example adding this to your python daemon:

f = open("/home/ur/test.txt", “w”)
f.write(“Is my daemon running”)

should create and write into a file: