start() failed after LoadModuleFromFile
funwey
✭
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
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
0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 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