kernelv_get_error_language()

Prototype

[ret , lang]

get_error_language(vnck: ctypes.CDLL);

Description

This function requests the language for error message output.

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.

lang

E_KERNELV_ERROR_LANGUAGE

Language of the error message output.

KERNELV_RETURN

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.