
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
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings