Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

RoboDK crashing upon generating robot program for offline programming

#1
Working on Windows 11. Had some problems with the python API on RoboDK 5.8.0 (I believe?) so updated yesterday to 6.2.2. (64bit Windows version). Unfortunately, this made things worse: When I try to generate an offline program by right-clicking the python script and selecting "Generate robot program", RoboDK crashes.

Steps to recreate the bug:
  1. Open a new station in RoboDK v6.2.2. on Windows 11
  2. File - Open robot library - Open Elite Robots CS 66
  3. Add new python script by clicking the python logo with the green plus at the top menu bar
  4. Right-click script in station tree and open script to edit
  5. Copy and paste example offline script (https://robodk.com/doc/en/PythonAPI/exam...-weld-test), then save (ctrl+s)
  6. Close script and run simulation in RoboDK by right-clicking script in station tree and selecting "run python script". Behaviour as expected with simulation running just fine.
  7. Right-click script in station tree again and select "generate robot program F6". RoboDK displays "executing python script" in status bar on bottom left corner of the screen, then immediately crashes. The program also crashed when I tried again with a random other robot from the library.
This bug only started occurring after the update. Previously generating scripts to run offline on the robot worked.
Am I right in assuming there is a bug here, or is this a user error?

The issue described arises when no robot is connected to the computer at the time of generating the program. When the robot is instead connected, RoboDK attempts to execute the script live on the robot (which was something we already had issues with before), and a different error arises that points towards communication issues between robot and program. I am currently unable to access the robot, but am happy to submit a detailed report of this second issue within the next few hours.
#2
I'm unable to reproduce this as a RoboDK crash. However, I noticed that generating the program failed because the coordinate system is not defined. We fixed this by improving the post processor. It should work now with the latest version of RoboDK (Windows only for now). Make sure to take the latest version published today:
https://robodk.com/download

If the issue persists, can you share your RoboDK project file? Can you better describe what you mean by a crash?
#3
Hi Albert,
thank you for the quick reply.
I just did the update and the issue was not resolved.
I have attached the file to this post. With the software "crashing" I mean it just closing itself without any error messages.


Attached Files
.rdk   Test_station.rdk (Size: 668.72 KB / Downloads: 0)
  




Users browsing this thread:
1 Guest(s)