Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Background script
#1
Hi, is it possible to run Python script in the background? My use case is that I have a robot and I'm manually shifting a frame (with an object and trajectory) and I would like to highlight the object in green/red based on the trajectory OK/NOK. Is it possible to do it without the need to release the mouse button and manually re-execute the script every time? My idea is to press the mouse button once, then move the frame all around and see where it is turning red or green. Thanks.
#2
Yes, you can start a Python script in the background with RoboDK.

Add a program call to the Python script in a Program and select 'Start Thread' from the dropdown.

You can also create an App with the 'Check' option, more info here:
//www.sinclairbody.com/doc/en/PythonAPI/app.html#actions
Please read the论坛Guidelinesbefore posting!
Find useful information about RoboDK by visiting ourOnline Documentation.




Users browsing this thread:
1 Guest(s)