Get the current actual velocity.
- Description:
- ActualVelocityGet returns the current actual velcocity for an axis in User Units per second. The actual velocity is sampled, so this returns the instantaneous actual velocity for one sample period.
- Returns
- (double) Actual Velocity in User Units per second.
- Sample Code:
-
- RapidSetup:
- Go to axis screen. In the image below, ActualVelocityGet returns the value in the Act. Velocity text box. In the image, the Actual Velocity is: 0 because the axis is not moving.
- See also
- CommandVelocityGet
- Examples
- FinalVelocity.cpp, and FinalVelocity.cs.