Fail to use PC SDK to backup for the real controller
I have completed the backup in the virtual controller, but when I tried this method for the real controller, it failed and did not show any exception, is there anybody know how to backup for the real controller and storage the backup in pc by pcsdk, thanks!
This is the program I wrote by pcsdk, which has completed backup function for the virtual controller.
using (m = Mastership.Request(controller.Rapid))
This is the program I wrote by pcsdk, which has completed backup function for the virtual controller.
using (m = Mastership.Request(controller.Rapid))
{
//choose the backup file storage directory in my pc
FolderBrowserDialog dialog = new FolderBrowserDialog();
if (dialog.ShowDialog() == DialogResult.OK)
{
try
{
controller.Backup(dialog.SelectedPath);
}
catch (BaseException baseexception)
{
MessageBox.Show(baseexception.Message);
}
}
}
Tagged:
0
Answers
-
You need to backup locally to the controller (hd0a:HOME) then copy the file over to a PC using Controller.FileSystem methods namely FileSystem.BeginCopyDirectory.
Don't forget to request mastership first!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
- 60 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 797 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings