How to check if a controller is in backup progress by PCSDK
I tried to output the values of Controller.BackupInProgress and BackupManager.InProgress for an interval less than 100ms. When manually backuping a real controller, I found that the output got stuck (nothing is displayed). All the values displayed are FALSE.
private static async Task RunTest(CancellationToken token)
{
while (!token.IsCancellationRequested)
{
await Task.Delay(50, token);
try
{
Logger.AddMessage(new LogMessage($"{Controller.BackupInProgress}"));
}
catch (Exception ex)
{
//
}
}
}
If these two properties do not work, how to know if a controller is in backup progress or not?
If these two properties do not work, how to know if a controller is in backup progress or not?
0
Categories
- All Categories
- 5.5K RobotStudio
- 398 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 321 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 805 RAPID Programming
- 4 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings