XPS Unified Programmer’s Manual
7.2.1.363 XYCrossTalkCompensationMotorDecouplingGet
Name
XYCrossTalkCompensationMotorDecouplingGet – Gets motor decoupling
parameters of XY cross talk compensation.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks if the cross talk compensation switch is disabled (firmware.ref ): (-121).
Description
This function returns the motor decoupling parameters of XY cross talk compensation.
Prototype
int XYCrossTalkCompensationMotorDecouplingGet(
int SocketID,
char *GroupName,
int *CrossTalkCompensationMode,
double *YToX1FFAccRatio,
double *YToX2FFAccRatio,
double *X1ToYFFAccRatio,
double *X2ToYFFAccRatio
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GroupName char * Group name.
Output parameters
CrossTalkCompensationMode int * XY cross talk compensation mode (Enabled
or Disabled)
YToX1FFAccRatio double * Current Y to X1 feed forward acceleration
ratio
YToX2FFAccRatio double * Current Y to X2 feed forward acceleration
ratio
X1ToYFFAccRatio double * Current X1 to Y feed forward acceleration
ratio
X2ToYFFAccRatio double * Current X2 to Y feed forward acceleration
ratio
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -121: Function is not allowed due to configuration disabled
EDH0373En1023 — 01/18 528