MotionDoneWait Will poll the Axis to see when the motion is complete and settled.
Returns:
elapsed milliseconds
Sample Code:
axis->MoveTrapezoidal(1000.0, 1000.0, 10000.0, 10000.0);
axis->MotionDoneWait();
printf("Motion is complete and Axis has settled\n");
Notes:
This method polls the state of the axis, and sleeps the task for 10 milliseconds each time the state is checked. You might want to create your own version of this method if you are running in a single threaded environment, so you could do other things while waiting for a motion to complete.