XPS Unified Programmer’s Manual
7.2.1.285 PositionerSGammaParametersGet
Name
PositionerSGammaParametersGet – Gets the current motion values from the
SGamma profiler.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks the profiler type (must be “SGamma”): (-8)
- Checks the positioner type (must not be a secondary positioner): (-8)
Description
This function gets the current SGamma profiler values that are used in displacements.
Prototype
int PositionerSGammaParametersGet(
int SocketID,
char * FullPositionerName
double * Velocity,
double * Acceleration,
double * MinimumJerkTime,
double * MaximumJerkTime
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
FullPositionerName char * Positioner name.
Output parameters
Velocity double * motion velocity (units/seconds).
Acceleration double * motion acceleration (units/seconds²).
MinimumJerkTime double * Minimum jerk time (seconds).
MaximumJerkTime double * Maximum jerk time (seconds).
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -8: Wrong object type for this command.
427 EDH0373En1023 — 01/18