Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python API: ProgramStart does not change RunMode
#1
Hi,
I found an unexpected behaviour using the ProgramStart method from the Python API.
In the documentation for ProgramStart there is an example that says changing the run mode to RUNMODE_MAKE_ROBOTPROG would be redundant:

https://robodk.com/doc/en/PythonAPI/robo...ogramStart

The annotations for setRunMode tell the same:

https://robodk.com/doc/en/PythonAPI/robo...setRunMode

I attached a python script that shows the run mode is not changed automatically.
Looking into robolink.py ProgramStart indeed does not seem to change the run mode.
So I guess either the function or the documentation should be revised.
Please let me know if I am wrong here.

Best regards
David


Attached Files
.py   Bug_example.py (Size: 937 bytes / Downloads: 10)
#2
Hi David,

Thanks for your post and sorry for the delay, we needed to take a good look at what you sent us.

"Please let me know if I am wrong here."
You are not wrong at all, you found a bug and we will fix that in the near future.

That could take a few working day.

Jeremy
  




Users browsing this thread:
1 Guest(s)