Universal Robots Forum

Path to programs folder

Hello,

A colleague of mine and I have written a URCap for a college class we are taking.
We do not regularly have access to the actual robot so we have done all of our testing in the simulator.

In the URCap we are using a deamon to write data to a file via XMLRPC and that file is supposed to be contained in the programs/ folder. As of now we are saving the file to the working directory.

The simulator’s working directory looks like this:
/ursim/ursim-3.7.2.40245/GUI/felix-cache/bundle114/data/…/impl/daemon
The simulator’s path to the program folder looks like this:
/ursim/ursim-3.7.2.40245/programs

Our problem is that we need the relative path to the programs directory on the actual robot and not in the simulator.
We would really appreciate if someone could help us out.

Thanks in advance!

On the actual robot, the programs folder is simply /programs/
So in the root file system directly.

1 Like

Thank you very much!