kernelv_get_error_id()
Prototype
int (unsigned) | get_error_id(vnck: ctypes.CDLL); |
Description
Returns the error number of an error message previously read by kernelv_read_error(). If kernelv_read_error() was not called or there is no current error message, the value 0 is returned.
Parameter
Name | Value | Meaning |
vnck | ctypes.CDLL | Instance of the loaded KernelV DLL. |
Return values
Type: int (unsigned)
0 if there is no current error message; otherwise the error number.
The individual errors numbers are described in the CNC diagnostics manual ([DIAG]).