# kernelv_get_error_cycle_time()

## Prototype

unsigned long long int | kernelv_get_error_cycle_time(void);

## Description

Returns the CNC cycle in which an error message previously read by kernelv_read_error() occurred. If no error message was read or there is no current error message, the value 0 is returned.

## Parameter

-

## Return values

Type: unsigned long int

0 if there is no current error message; otherwise the CNC cycle in which the error message occurred.