RobotStudio event

PCSDK app freezes


Hello!

When I start my application (C#), app freezes and meanwhile RS does nothing. Output is silent and flexpendant shows no change in mastership.

However, if I alt+tab to VisualStudio - it unfreezes and does it's thing (until I alt+tab back).
I can make it work in visualstudio debug mode, by stepping over each line of code manually. If I do that - robot moves and does everything by the code.

Maybe it's common issue and you can help me solve it?



John Wiberg2012-04-26 14:35:37

Comments



  • Nope, I don't recognize this behavior.
     
    A guess would be a GUI threading problem? Maybe updating graphics in event threads?
    Check out the PC SDK application.
    [Developing Controller applications] > [Controller events and threads]
     
    You could also test by not using the VS debugger, starting the app with [Ctrl]+[F5] instead of just [F5].
     
  • Thanks for reply, but I fixed it on my own. Solution is simple - don't run VS+RS on virtual machine. It does not work well together.