BackupEventHandler
Bj?rn
✭
Hi!
I tried to use the event for a complete backup, but I'm a little uncertan how to use the right types:
this.controllers.BackupCompleted += new BackupEventHandler(c_BackupCompleted);
And here is the event handler....
public void c_BackupCompleted(object sender,ABB.Robotics.Controllers.BackupEventArgs e)
{
}
This sollution gives me the compiler error:
"Error 2 Cannot implicitly convert type 'ABB.Robotics.Controllers.BackupEventHandler' to 'System.EventHandler<ABB.Robotics.Controllers.BackupEvent Args>
// Bj?rn
<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
0
Comments
-
BackupEventHandler (and all other controller event handlers) are obsoleted in 5.09 because they have made a change to how these events are fired. You must implement your own method instead of using the built-in ones. See the 5.09 release notes for more information.
Russell Drown0 -
Obviously I did not read the documentation good enough, anyway now it works as it should - thanks!
// Bj?rn<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings