RMP Motion Controller
10.5.2
The RMP Motion Controller APIs
MotionController
NetworkNode
Axis
MultiAxis
IOPoint
Cartesian
RsiError
Contact
Support
RMP
◆
SampleWait()
void SampleWait
(
uint32_t
samples
)
Description:
SampleWait blocks and delays execution of code until the specified number of
MotionController
firmware samples has elapsed.
Parameters
samples
The number of samples to wait.
Remarks
This function is also available in
RapidSequencer
.
Part of the
Information
method group.
Sample Code:
@code
controller.
SampleWait
(10) ;
// wait 10 samples
RSI::RapidCode::MotionController::SampleWait
void SampleWait(uint32_t samples)
Wait for controller firmware to execute samples.
Note
This method is typically used test code or a multithreaded application where a thread can wait/block while other threads are executing.
Examples
Compensator.cs
,
Homing.cs
,
InputOutput.cs
,
MathBlock.cs
, and
PathMotion.cpp
.
RSI
RapidCode
MotionController
Generated by
1.10.0