DisconnectFromLibrary's problem
hohox
✭
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.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings