10-30-2020, 08:24 AM
I am trying to generate a Kuka program over the RDK API.
It is basically working with this script, but the issue I have is that I cant find a way to properly name my program.
The program that is generated is always named: ProgKUKAKR6R900s.
I am using the RobotPaint example from RDK but I replaced the robot with Kukas agilus.
I hope somebody can tell me how to name my program, and let me know if this is even the proper way of generating the program over the API. All this is very new to me.
Thanks.
It is basically working with this script, but the issue I have is that I cant find a way to properly name my program.
Code:
from robolink import *
RDK = Robolink()
prog = RDK.Item('Robot paint', ITEM_TYPE_PROGRAM_PYTHON)
prog.RunProgram()
RDK.setRunMode(RUNMODE_MAKE_ROBOTPROG)
while prog.Busy():
pause(0.1)
print("Program done")
The program that is generated is always named: ProgKUKAKR6R900s.
I am using the RobotPaint example from RDK but I replaced the robot with Kukas agilus.
I hope somebody can tell me how to name my program, and let me know if this is even the proper way of generating the program over the API. All this is very new to me.
Thanks.