kernelv_program_error_get_fileoffset
Prototype
[ret, fileoffset] | program_error_get_fileoffset(vnck: ctypes.CDLL); |
Description
Returns the file offset of the error in the program file.
Parameter
Name | Type | Meaning |
vnck | ctypes.CDLL | Instance of the loaded KernelV DLL. |
Return values
Name | Type | Meaning |
ret | KERNELV_RETURN (int) | Return value of the native integrated C function. |
fileoffset | int (unsigned) | File offset |
KERNELV_RETURN
Symbol | Value | Meaning |
RET_FINISHED | 0 | The function was executed without error. |
ERR_CNC_NO_DATA | -28 | The requested data is not available. There is no available NC program specific data relating to an CNC error. |