Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Why the function Start() int PC SDK 5.60 does not work?
andyong
✭
hi,everyone!
this is my code: NetworkScanner ns = new NetworkScanner();
ns.Scan();
ControllerInfo[] ci = ns.GetControllers();
Controller controller = ControllerFactory.CreateFrom(ci[0]);
controller.Logon(UserInfo.DefaultUser);
Console.WriteLine(controller.SystemName);
Task[] ts = controller.Rapid.GetTasks();
using (Mastership m = Mastership.Request(controller.Rapid))
{
bool bb = controller.AuthenticationSystem.CheckDemandGrant(Grant.ExecuteRapid);
ts[0].LoadProgramFromFile(controller.FileSystem.RemoteDirectory + "/THIS/THIS.pgf",RapidLoadMode.Replace);
ts[0].Start();
Console.ReadKey();
}
these code works well if i reference them from the PC SDK 5.15. The virtual robot in RobotStudio will run the "THIS.pgf" when i run these code. But, when i reference them from PC SDK 5.60, the virtual controller will load "THIS.pgf", but virtual robot don't move. the value of "bb" is true during my test. 
the pictures is output when i test the code with PC SDK 5.60.
Can someone help me?
Thank you!
0
Answers
-
I am having this same issue and is described in another post.0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings