◆ MotionDoneGet()

virtual bool MotionDoneGet ( )
pure virtual

Check to see if motion is done and settled.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the State and Status method group.

MotionDoneGet returns true if the current move is complete and the axis is settled.
(bool) Returns true if motion is done, false if still moving.
Sample Code:
axis->MoveTrapezoidal(1000.0, 1000.0, 10000.0, 10000.0);
while(axis->MotionDoneGet() == false)
printf("Motion is complete and Axis has settled\n");
See also
StateGet, MotionDoneWait, InterruptWait