NRC_SetCycleIndex(int index)
Set the total number of times the current job file is to be run
Set the total number of times the current job file is to be run. When setting, the current running times will also be reset to 1
Type
int=>Set the total number of times the current job file is to be run
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 |
---|---|---|
index | int | The total number of times the current job file is to be run, set to 0 to run cyclically. Parameter range: index >= 0 |
Sample code
NRC_SetCycleIndex(3);//Set the current job file to run 3 times