kernelv_get_license_info()

Prototype

[ret, version]

get_license_info(vnck: ctypes.CDLL);

Description

Reads the existing license information.

The function can only be used after the function kernelv_startup() is called.

The function writes the existing license information to the memory referenced by the call parameter licenseInfo.

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.

version

KERNELV_LICENSE_INFO

License information

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.