XPS Unified Programmer’s Manual
7.2.2.13 GetVelParams
Name
GetVelParams – Gets current velocity for X and Y axes.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks motion profile: (-8)
Description
This API updates the current acceleration parameters for X and Y axes.
The smooth factor represents the jerk time and all parameters unit in milliseconds.
Prototype
int GetVelParams(
int SocketID,
double * Xvelocity,
double * Yvelocity
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
Output parameters
Xvelocity double * X velocity in µm/s.
Yvelocity double * Y velocity in µm/s.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -8: Wrong object type for this command.
EDH0373En1023 — 01/18 602