MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ SampleWait()

void SampleWait ( uint32  samples)
pure virtual

Wait for controller firmware to execute samples.

Description:
SampleWait blocks and delays execution of code until the specified number of MotionController firmware samples has elapsed.
Sample Code:
@code
controller.SampleWait(10) ; // wait 10 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
Compensator1D.cs, and CompensatorSingleAxis.cs.