Controllermotionkerneltimeloadget - 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
EDH0373En1023 — 01/18
7.2.1.4

ControllerMotionKernelTimeLoadGet

Name
ControllerMotionKernelTimeLoadGet – Gets controller motion kernel time load.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
Description
This function gets the last exact value of the controller's motion kernel time load (total ,
corrector, profier and servitudes calculation time).
CorrectorTimeLoad = CorrectorCalculationTime/CorrectorISRPeriod
ProfilerTimeLoad = ProfilerCalculationTime/CorrectorISRPeriod
/ProfileGeneratorISRRatio
ServitudesTimeLoad = ServitudesCalculationTime/CorrectorISRPeriod
/ServitudesISRRatio
TotalTimeLoad = CorrectorTimeLoad + ProfilerTimeLoad + ServitudesTimeLoad
Refer to system.ref file to get CorrectorISRPeriod, ProfileGeneratorISRRatio and
ServitudesISRRatio.
Prototype
int ControllerMotionKernelTimeLoadGet(
int SocketID,
double * CPUTotalLoadRatio,
double * CPUCorrectorLoadRatio,
double * CPUProfilerLoadRatio,
double * CPUServitudesLoadRatio
)
Input parameters
SocketID
Output parameters
CPUTotalLoadRatio
CPUCorrectorLoadRatio
CPUProfilerLoadRatio
CPUServitudesLoadRatio double * Controller motion kernel servitudes CPU time
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
• 0:
No error.
NOTE
int
Socket identifier used in each function.
double * Controller motion kernel total CPU time load.
double * Controller motion kernel corrector CPU time
load.
double * Controller motion kernel profiler CPU time load.
load.
46
Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents