MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ Sleep()

void Sleep ( int32  milliseconds)
pure virtual

Put the current thread to sleep.

Description:
Sleep puts the current thread to sleep.
Parameters
millisecondsThe number of milliseconds the thread should sleep.
Sample Code:
// put this thread to sleep for some milliseconds
controller->OS->Sleep(SLEEP_MILLISECONDS);
Examples
FinalVelocity.cpp, FinalVelocity.cs, Gantry.cpp, Recorder.cpp, Recorder.cs, SyncInterrupt.cpp, UserLimitDigitalInputAction.cpp, and UserLimitStateAction.cpp.