Hello,
we have a problem with our new configuration: we now have an IRC 5 Compact and use RobotStudio 2024.2 SDK and RobotWare Tools 6.15.27.
The C# program that we used to control the robot under Windows 7 no longer works!
<code>
private NetworkScanner scanner = new NetworkScanner();
...
scanner.Scan();
ControllerInfo[] collection = scanner.GetControllers(NetworkScannerSearchCriterias.Real);
</code>
“collection” is always an empty list!
Which is also not surprising: WireShark does not find any packets from computer 192.168.64.63 to IRC 5 controller 192.168.64.61. Only regular ICMP packets from the controller:
769705 4500.217451 192.168.64.61 192.168.64.63 ICMP 97 Redirect (Redirect for host).
Even the sample programs from ABB show the same behavior:
https://developercenter.robotstudio.com/api/pcsdk/downloads/ControllerAPI.zip
https://us.v-cdn.net/5020483/uploads/editor/6v/3rlcrrjdd5i5.zip
Only when I manually connect the controller with RobotStudio 2024.1 is it then found by the program.
The problem persists even after I have updated the DLLs and removed the only two warnings:
//The member "Controller.Connect(ControllerInfo, ConnectionType, bool)" cannot be addressed with an instance reference. Instead, it must be qualified with a type name.
//"Mastership.Request(IMastershipResource)" is obsolete: use "Request(IMastershipResourceController)", which requests "Mastership".
Why does the NetworkScanner initially not send any packets?
Thanks,
Axel Dürrbaum