XPS Unified Programmer’s Manual
7.2.1.368 XYLineArcParametersGet
Name
XYLineArcParametersGet – Gets LineArc trajectory parameters.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks group type (must be a XY group): (-8)
- Checks group name: (-19)
- Checks current executing trajectory type (must be LineArc): (-22)
Description
This function returns the LineArc trajectory parameters (trajectory name, trajectory
velocity, trajectory acceleration, current executing element number) of the current
LineArc trajectory.
Prototype
int XYLineArcParametersGet(
int SocketID,
char GroupName[250],
char * FileName,
double * Velocity,
double * Acceleration,
int * CurrentElementNumber
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GroupName char * Group name.
Output parameters
FileName char * Currently executing trajectory file name.
Velocity double * Trajectory velocity (units/s).
Acceleration double * Trajectory acceleration (units/s²).
CurrentElementNumber int * Currently executing element number.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -8: Wrong object type for this command.
• -19: Group name doesn't exist or unknown command.
• -22: Not allowed action.
535 EDH0373En1023 — 01/18