Posts: 4
Threads: 1
Joined: May 2025
Reputation:
0
05-06-2025, 11:12 AM
(This post was last modified: 05-07-2025, 05:19 PM by Albert.)
I have created an RDK station with a Staubli TX60 robot, a Python script, and a connection to a physical robot. I want this station and connection to automatically run when I start the application, but I am not quite sure how to set that up, if it is possible. I read some resources about a startup.py script, I have created that but I still need to figure out how to get RoboDK to run the script automatically once I open the application.
Posts: 4
Threads: 1
Joined: May 2025
Reputation:
0
I am on a Linux system. How much of the above would change based on that?
Posts: 4
Threads: 1
Joined: May 2025
Reputation:
0
05-07-2025, 10:32 PM
(This post was last modified: 05-09-2025, 11:08 AM by Albert.)
I am on a Linux system. How much of the above would change based on that? Let me explain what I want to use it for a little better. I have set up a station in RoboDK that runs the importCSV_XYZWPR to control a physical robot that it connects to. The whole setup takes a bit of time and I want to set up 2 additional robots using this method. I set up a Python script that runs through all this process to connect to the physical robot. What I want to now know is can RoboDK Linux be configured in such a way that once I open the application, the startup python script is run automatically? This would be ideal because I would like to set this up without a HUD/only remote connections. Thank you
Posts: 4,373
Threads: 2
Joined: Apr 2018
Reputation:
203
The command line I provided also works on Linux.
You could also use the API and connect to your running instance of RoboDK from a remote computer. Once you have an connection through the API you can have full control and run programs for example.
Posts: 4,373
Threads: 2
Joined: Apr 2018
Reputation:
203
Are you using the latest version of RoboDK? ShowMessage is supposed to display a blocking message in the user interface. Since there is no user interface this could create issues. We fixed this issue by ignoring blocking messages when the NOUI option is used. Let us know if you reproduced this issue with the latest version so we can try to reproduce it and fix it.
As a workaround you can simply not use the ShowMessage function, or set it as non-blocking.