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 . Thank you!0
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 363 IRC5
- 80 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 853 RAPID Programming
- 31 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings
