Example 2 (UserGuide.pdf)
Options
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.4K RobotStudio
- 383 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 734 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings