ABB.Robotics.Controllers.Discovery.NetworkScanner TypeInitializationException was unhandled
baijun
✭
in RobotStudio
Hi ,everyone ,I am new in using PC SDK, thank you very much for your busy schedule to visit my question. ABB.Robotics.Controllers.Discovery.NetworkScanner initialization error, my project is set to X86, ABB.Robotics.Controllers.PC.dll version 6.3.7016.2009, Runtime version is v4.0.30319. May I ask you, what is the problem, thank you.
0
Comments
-
I am using version 6.3.6890, so a bit lower compared with your version. The warning already indicates the problem. The ABB dll is build against version v4.5 and then you can not use runtime version v4.0. So probably if you change your runtime version to the same version (or higher) as the one used for the ABB dll, it will work...
1 -
Hi,John_Verheij.Thank you very much for your reply.I have installed the version 6.03 of ABB.Robotics.Controllers.PC.dll,but ABB dll in the VS2013 property browser is shown in v4.0.30319.The problem can not be solved, I will try to follow your ideas, once again thank you.0
-
John_Verheij said:I am using version 6.3.6890, so a bit lower compared with your version. The warning already indicates the problem. The ABB dll is build against version v4.5 and then you can not use runtime version v4.0. So probably if you change your runtime version to the same version (or higher) as the one used for the ABB dll, it will work...
0 -
The ABB Industrial Robot Communication Runtime is in the RobotWare Tools and Utilities folder - you should try to install it manually.0
-
What do you mean with NetworkScanner initialization error? It is something like this right?
<div> NetworkScanner scanner = new NetworkScanner();<br></div><div> scanner.Scan();</div>
0 -
John_Verheij said:What do you mean with NetworkScanner initialization error? It is something like this right?
<div> NetworkScanner scanner = new NetworkScanner();<br></div><div> scanner.Scan();</div>
0 -
John_Verheij said:What do you mean with NetworkScanner initialization error? It is something like this right?
<div> NetworkScanner scanner = new NetworkScanner();<br></div><div> scanner.Scan();</div>
NetworkScanner scanner = new NetworkScanner();
" will throws an TypeInitializationException.
0 -
graemepaulin said:The ABB Industrial Robot Communication Runtime is in the RobotWare Tools and Utilities folder - you should try to install it manually.
0 -
When I try to set up a project with the same settings it works without problems. Maybe you can share your project and then I can have a look0
-
John_Verheij said:When I try to set up a project with the same settings it works without problems. Maybe you can share your project and then I can have a look
0 -
According to the exception you have to add two additional references:
- RobotStudio.Services.RobApi
- RobotStudio.Services.RobApi.Desktop
After adding these two references it works, but I am not sure why these two references are needed
1 -
John_Verheij said:According to the exception you have to add two additional references:
- RobotStudio.Services.RobApi
- RobotStudio.Services.RobApi.Desktop
After adding these two references it works, but I am not sure why these two references are needed
1
Categories
- All Categories
- 5.5K RobotStudio
- 395 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)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings