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

program.WaitFinished() hangs

Sometimes we call program.RunCode() in pure simulation mode (no robot connected). The object tree shows that the program is "running" but the simulated robot does not move. after RunCode() we call WaitFinished() but it just hangs since the program does not start. 

When it get's stuck like that, double clicking on the program in the GUI will get it started and then WaitFinished() is eventually satisfied. Would like to avoid having to use this manual work-around. Thanks in advance for the help.
Can you provide a station to reproduce this issue? I was not able to reproduce it.
Please read the Forum Guidelines before posting!
Find useful information about RoboDK by visiting our Online Documentation.

Users browsing this thread:
1 Guest(s)