XPS Unified Programmer’s Manual
7.2.2.3 GetAccParams
Name
GetAccParams – Gets acceleration parameters for X and Y axes.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
Description
This API gets the current acceleration parameters for X and Y axes.
The smooth factor represents the jerk time and all parameters unit in milliseconds.
Prototype
int GetAccParams(
int SocketID,
int * XaccTime_ms,
int * XsmoothFactor_ms,
int * YaccTime_ms,
int * YsmoothFactor_ms
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
Output parameters
XaccTime_ms int * X acceleration time in msec.
XsmoothFactor_ms int * X Smooth factor in msec (jerk time).
YaccTime_ms int * Y acceleration time in msec.
YsmoothFactor_ms int * Y Smooth factor in msec (jerk time).
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
591 EDH0373En1023 — 01/18