RobotStudio event

How to resolve the error in try catch block ?

edited August 2018 in RobotStudio
I want to build a Robot based on the link

While debugging, I get an exception.

How to resolve this error ?


  • DenisFR
    DenisFR ✭✭✭
    You have to catch InvalidOperationException:
    <div>...<br></div><div>catch (InvalidOperationException e)</div><div>{</div><div>&nbsp; // Do what you want</div><div>}<br></div><div>catch</div><div>{</div><div>...</div>

  • vikram6892
    edited August 2018
    Hello Denis,

    Thank you for your answer. Now I can build the code. But I could not see any robot created in Robotstudio. I used Robotstudio Addin Template and to create the robot. Is it correct ? If not, what is the solution ? How the robot model should be created and viewed ?

    Thanks in advance
  • DenisFR
    DenisFR ✭✭✭
    RobotStudio AddIn is not to create new robot. Only to add some new features to RS.

    You don't need to develop AddIn to add robot. It's on the main RS.
    You can have a look to this video:
    Or search for RobotStudio tutorials.