DisconnectFromLibrary's problem
Options
in RobotStudio
In my program the method DisconnectFromLibrary() can work well in the addin's main class. But cannot work in my own forms class. I don't know why.
Anyone knows why? And how to Disconnect Library in user's form call?Thanks a lot!
0
Comments
-
Are you using VSTA or Visual Studio?
In a Visual Studio addin, make sure to only call API methods from the main thread (the same thread that calls AddinMain()).
regards,
Johannes
Johannes Weiman
Software Engineer
ABB Robotics0 -
I'm using Visual Studio.Actually I create a C# form in AddinMain(), and then click the button on this form to disconnect library. And it cannot work!Is this in a different thread from the main thread?Sorry, I'm new to the C# program.Thank you!0
Categories
- All Categories
- 5.4K RobotStudio
- 384 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 736 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings