XPS Unified Programmer’s Manual
7.2.1.348 TZPTResetInMemory
Name
TZPTResetInMemory – Deletes the content of the PT trajectory buffer in the
controller memory.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks group type (must be a TZ group): (-8)
- Checks group name: (-19)
- Not available in this configuration (PrecisionPlatform firmware only): (-24)
Description
This function deletes the PT trajectory buffer in the controller memory, that was
previously loaded with the “TZPTLoadToMemory” function.
Prototype
int TZPTResetInMemory(
int SocketID,
char GroupName[250]
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GroupName char * Group name.
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -3: String too long.
• -8: Wrong object type for this command.
• -19: Group name doesn't exist or unknown command.
• -24: Not available in this configuration.
505 EDH0373En1023 — 01/18