# kernelv_get_cycletime()

## Prototype

KERNELV_RETURN | kernelv_get_cycletime (unsigned long* cycleTime);

## Description

Reads the CNC cycle time.

## Parameter

Name | Type | Meaning
cycleTime | unsigned long* | Cycle time us.

## Return values

Symbol | Value | Meaning
RET_FINISHED | 0 | The function was executed without error.
ERR_CNC_NOT_INIT | -3 | The simulation CNC kernel was not yet initialised.