EasyManua.ls Logo

Newport XPS - Tzptloadtomemory

Newport XPS
722 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
XPS Unified Programmer’s Manual
7.2.1.344 TZPTLoadToMemory
Name
TZPTLoadToMemory Loads some lines of PT trajectory to the controller memory.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks trajectory data (data length must >0 and ≤400): (-3) or (-17)
- 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 loads some lines of PT trajectory into XPS controller memory. Each
trajectory element must be separated by a comma. The trajectory lines are separated
between them by a “\n” (LF) character. To verify or to execute the PT trajectory loaded
in memory, use the string “FromMemory” instead of a file name.
NOTE
All of the PT functions, when called with the string “FromMemory” instead of a
FileName, will perform the same operation as the PT trajectory in RAM as it does
from a disk.
Example:
TZPTLoadToMemory(socketId,myGroup,”dT1,dX11,dX12,dX13\n…dTn,dXn1,d
Xn2,dXn3\n”)
TZPTVerification (socketId,myGroup,FromMemory)
TZPTExecution(socketId,myGroup,FromMemory,1).
Prototype
int TZPTLoadToMemory(
int SocketID,
char GroupName[250],
char TrajectoryData[400]
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GroupName char * Group name.
TrajectoryData char * Trajectory data lines.
Output parameters
None.
EDH0373En1023 01/18 498

Table of Contents

Other manuals for Newport XPS

Related product manuals