XPS Unified Programmer’s Manual
7.2.2.26 SetAccParams
Name
SetAccParams – Sets acceleration parameters for X and Y axes.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
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 SetAccParams(
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.
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).
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
621 EDH0373En1023 — 01/18