Example 2 (UserGuide.pdf)
Conan
✭
Hello,
I have a problem with example nr.2 (PC SDK User Guide.pdf pagenr.145) "Add NetworkWatcher"
How do I do this?
Add the event handlers for Found and Lost controllers, as well as the setting of the EnableRaisingEvents property to True.
With Best Regards,
0
Comments
-
In the Load handler for the window application add the event handlers for Found and Lost delegates on the NetworkWatcher instance:
Me.ANetworkWatcher = New NetworkWatcher(Me.Scan.Controllers)
AddHandler Me.ANetworkWatcher.Found, AddressOf Me.NetworkAddController
AddHandler Me.ANetworkWatcher.Lost, AddressOf Me.NetworkRemoveController
Me.ANetworkWatcher.EnableRaisingEvents = TrueRgards,
Urban Vikblom
CONTAB0
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 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