XPS Unified Programmer’s Manual
7.2.1.31 ExternalModuleScanFuncTimeDurationsGet
Name
ExternalModuleScanFuncTimeDurationsGet – Gets the current and the maximum
scan executing time for an ExternalModule.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks the module number (must >=1 and <= NbExternalModules): (-17)
- Here: NbExternalModules is the number of modules declared in the line
SharedLibraryModuleNames of system.ref
Description
An ExternalModule has a scan function that is called periodically by Newport
MotionKernel. This function gets the current and the maximum scan executing time for
an ExternalModule.
Prototype
int ExternalModuleScanFuncTimeDurationsGet(
int SocketID,
int ModuleNumber,
double *CurrentDuration,
double *MaximumDuration
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
ModuleNumber int External module number
Output parameters
CurrentDuration char * Current scan executing duration.
MaximumDuration char * Maximum scan executing duration.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -17: Parameter out of range or incorrect.
77 EDH0373En1023 — 01/18