NRC_RunqueueInsertTIMER(double timeSec)
Insert TIMER instruction in the run queue
Before calling this function, please call NRC_CreateNoFlieRunqueue() to create a fileless run queue
Type
int=>Insert TIMER instruction in the run queue
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 |
---|---|---|
timeSec | double | Delay time in seconds, parameter range: timeSec > 0 |
Sample code
NRC_RunqueueInsertTIMER(1);
//Insert TIMER instruction in the run queue, delay 1s