FileSystem.GetDirectory Exception
Pedro
✭
Essentially I'm trying to automate backup creation and retrieval for archiving using the PC SDK interface. I figured out how to create a backup on the controller, but I'm having trouble getting the directory on the controller containing the backup and copying to the computer running an application with the PC SDK. Here's what I have (VB.Net):
With ABBController.FileSystem
.RemoteDirectory = "(BACKUP)$"
.LocalDirectory = "C:"
If .DirectoryExists("Remote_Dir") Then
.GetDirectory("Remote_Dir", "Local_Dir", True)
End If
End With
Running this snippet will generate a GenericControllerException with the message "Error accessing/creating file on the local file system.". When I compare the directory/file structure of my local and remote directories, I find that the HOME directory created on my PC contains none of the files found in the HOME directory on the controller's backup. Everything else appears to have copied correctly. Is this by design? Is there another way to retrieve the entire backup?
Thanks,
Pedro
0
Comments
-
Hola Pedro,When you said that you managed to create a backup in the controller, were you using the FP SDK?Are you trying to copy a backup file generated by the Flex Pendant?Saludos/CarlosCarlos Martinez
ABB0
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings