◆ SampleWait()

virtual void SampleWait ( uint32_t  samples)
pure virtual

Wait for controller firmware to execute samples.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Information method group.

SampleWait blocks and delays execution of code until the specified number of MotionController firmware samples has elapsed.
Sample Code:
controller.SampleWait(10) ; // wait 10 samples
This method is typically used test code or a multithreaded application where a thread can wait/block while other threads are executing.