Xypvtloadtomemory - Newport XPS Programmer's Manual

Xps unified series universal high-performance motion controller/driver
Hide thumbs Also See for XPS:
Table of Contents

Advertisement

XPS Unified
7.2.1.384

XYPVTLoadToMemory

Name
XYPVTLoadToMemory – Load some lines of PVT 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 XY group): (-8)
-
Checks group name: (-19)
-
Not available in this configuration (PrecisionPlatform firmware only): (-24)
Description
This function loads some lines of PVT 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 PVT trajectory
loaded in memory, use the string "FromMemory" instead of a file name.
All of the PVT functions, when called with the string "FromMemory" instead of a
FileName, will perform the same operation as the PVT trajectory in RAM as it
does from a disk.
Example:
XYPVTLoadToMemory(socketId,myGroup,"dT1,dX11,Vout11,dX12,Vout12\n...d
Tn,dXn1,Voutn1,dXn2,Voutn2\n")
XYPVTVerification (socketId,myGroup,FromMemory)
XYPVTExecution(socketId,myGroup,FromMemory,1).
Prototype
int XYPVTLoadToMemory(
int SocketID,
char GroupName[250],
char TrajectoryData[400]
)
Input parameters
SocketID
GroupName
TrajectoryData
Output parameters
None.
NOTE
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
char *
Group name.
char *
Trajectory data lines.
563
Programmer's Manual
EDH0373En1023 — 01/18

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents