XPS Unified Programmer’s Manual
7.2.1.288 PositionerSGammaVelocityAndAccelerationSet
Name
PositionerSGammaVelocityAndAccelerationSet – Sets the SGamma profiler velocity
and acceleration.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks input parameter values: (-17)
• 0 <NewVelocity ≤MaximumVelocity
• 0 <NewAcceleration ≤MaximumAcceleration
Description
This function sets the SGamma profiler velocity and acceleration that will be used for
the future displacements.
Prototype
int PositionerSGammaVelocityAndAccelerationSet(
int SocketID,
double Velocity,
double Accelation
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
Velocity double motion velocity (units / seconds).
Acceleration double motion accelation (units / seconds²).
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -17: Parameter out of range or incorrect.
431 EDH0373En1023 — 01/18