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.

start() failed after LoadModuleFromFile

Hi;



I use the following to load a module from file :



Task aTask = this.controller.Rapid.GetTask("T_ROB1");

aTask.LoadModuleFromFile(sDirR + "/module.mod",RapidLoadMode.Replace );

System.Threading.Thread.Sleep(3000);

StartResult sRes = this.controller.Rapid.Start();



I checked that the module has been successfully loaded into the RobotStudio, and that it could be executed with pressing the "Start" button on the RAPID page. However the sRes returns error and Start() failed. I have also tried aTask.Start() and it is the same. Anyone can help ?



Rgds



Wey

FW