XPS Unified
EDH0373En1023 — 01/18
7.2.1.150
PositionerCompensatedFastPCOFromFile
Name
PositionerCompensatedFastPCOFromFile – Reads firing positions from a data file to
controller's memory.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks the positioner name: (-18)
-
Checks if CIEFAST compensated PCO pulses generation is enabled: (-121)
Description
This function reads firing positions from a data file to the controller's memory.
The data file contains lines of data, formatted as follows:
Position
i
Example:
Position
1
Position
2
... ...
Position
N
Data conditions:
Position
>Position
i
Position
(i = 1...N) are the offset values relative to the scanning positioner start
i
position that is defined in the PositionerCompensatedFastPCOPrepare().
Prototype
int PositionerCompensatedFastPCOFromFile(
int SocketID,
char * PositionerName,
char * DataFileName
)
Input parameters
SocketID
PositionerName
DataFileName
Output parameters
None.
-1, Width
<Position
+1 - Position
i
i
i
NOTE
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
char *
Positioner name.
char *
Data file name.
228
Programmer's Manual
.
i