APIs, concepts, guides, and more

◆ MoveTrapezoidal()

void MoveTrapezoidal ( const double *const position,
const double *const vel,
const double *const accel,
const double *const decel )
Description:
MoveTrapezoidal point-to-point trapezoidal velocity profile move.
Parameters
*positionArray of target positions (UserUnits for each axis).
*velArray of velocities (UserUnits).
*accelArray of accelerations (UserUnits).
*decelArray of decelerations (UserUnits).
Note
Non-Blocking Execution Motion commands return instantly and do not pause code execution. Use MotionDoneWait() post-call to halt execution until motion completes.
Sample Code:
Motion: Point-to-Point
axis.MoveTrapezoidal(Constants.POSITION, Constants.VELOCITY, Constants.ACCELERATION, Constants.DECELERATION);// Command simple trapezoidal motion.
axis.MotionDoneWait();// Wait for motion to be done
See also
MotionAttributeMaskGet
Examples
MultiAxisMotion.cs.