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.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 303 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 353 IRC5
- 74 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 849 RAPID Programming
- 25 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings