NRC_StartRunJobfile(std::string jobname)
Start/continue running job file
This function is only valid in run mode
After this function is successfully called, the robot will start moving. Please pay attention to safety
Type
int=>Start/continue running job file
| Return value | Description |
|---|---|
| 0 | The function is called successfully |
| -101 | Invalid input parameter |
| -102 | The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value |
| -103 | The target object is currently in an inoperable state |
Parameter Option
| Parameter | Type | Description |
|---|---|---|
| jobname | string | The job file to start running, this parameter is invalid when continuing to run |
Sample code
NRC_StartRunJobfile("NRCAPI");//Start running job file "NRCAPI"