XPS Unified Programmer’s Manual
7.2.1.139 PositionerAnalogTrackingPositionParametersGet
Name
PositionerAnalogTrackingPositionParametersGet – Gets the parameters of the
current tracking position mode.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks input parameter: (-8), (-18)
Description
This function returns the current analog input name, the current offset and the current
scale used by analog tracking position mode.
NOTE
“Velocity” and “Acceleration” define the maximum velocity and acceleration used
in the position tracking mode.
Prototype
int PositionerAnalogTrackingPositionParametersGet(
int SocketID,
char * FullPositionerName,
char * GPIOName,
double * Offset,
double * Scale,
double * Velocity,
double * Acceleration
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
FullPositionerName char * Positioner name FrequecyTicks.
Output parameters
GPIOName char Analog input name (ADC).
Offset double * Offset in volts.
Scale double * Scale (Units/Volts).
Velocity double * Velocity (Units/s).
Acceleration double * Acceleration (Units/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.
213 EDH0373En1023 — 01/18