XPS Unified
7.2.1.48
GatheringExternalStopAndSave
Name
GatheringExternalStopAndSave – Stops externally triggered data gathering and saves
the data into the XPS controller.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks number of data (>0): (-30)
-
Checks file opening: (-60)
Description
This function stops externally triggered data gathering and saves the data into the XPS
controller. Gathered data is stored in the "GatheringExternal.dat" file under "..\Public"
folder of XPS controller.
For more thorough description of external data gathering capability, please refer to
section Data Gathering/External Data Gathering of XPS Motion Tutorial.
Prototype
int GatheringExternalStopAndSave(
int SocketID
)
Input parameters
SocketID
Output parameters
None.
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
• 0:
No error.
• -30:
Gathering not started.
• -60:
Error during file writing or file doesn't exist.
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
95
Programmer's Manual
EDH0373En1023 — 01/18