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);
RapidCodeOS * OS
Provides access to operating system (Windows) features.
Definition rsi.h:3736
void Sleep(int32_t milliseconds)
Put the current thread to sleep.
Examples
Recorder.cs, and UserLimitDigitalInputAction.cpp.