RobotStudio event

Backup creates empty folder

Hello,

We are trying to create a backup of a controller using the PCSDK version 6.03.
For testing we are using a virtual controller in RobotStudio 6.03.

When calling the Controller.Backup method it will create the given folder on the virtual controller but it remains empty.
We are subscribed to the 'BackupCompleted' event which occurs and says it is successful in the backup event arguments.
The event log in RobotStudio is showing three message that indicate the backup was succesfull:
  • 10230: Backup step ready (prepare)
  • 10231: Backup step ready (configuration)
  • 10232: Backup step ready (task)
But the created folder is empty?!


When using the virtual flexpendant to create a backup (with the same name and location) it will successfully create a backup and not only an empty folder.

We have not yet tested it on a real physical robot controller.

Any ideas on what we are doing wrong?

Kind regards

Comments

  • Can you maybe show your code? Which PC-SDK version are you using?

    I just tried it with RobotSTudio 6.03 and PC-SDK 6.03. In my case is was successfully...


    // Log on
    controller.Logon(UserInfo.DefaultUser);
    
    try { 
        controller.BackupCompleted += controller_BackupCompleted;
        controller.Backup(@C:\temp\abb);
    }
    catch (Exception) { }
    
    // Log off and dispose
    controller.Logoff();
    controller.Dispose();