The RMP Motion Controller APIs

◆ Sleep()

void Sleep ( int32_t  milliseconds)
Description:
Sleep puts the current thread to sleep.
Parameters
millisecondsThe number of milliseconds the thread should sleep.
Remarks
This function is also available in RapidSequencer.
Sample Code:
// put this thread to sleep for some milliseconds
controller->OS->Sleep(SLEEP_MILLISECONDS);
Examples
Gantry.cpp, SyncInterrupt.cpp, and UserLimitDigitalInputAction.cpp.