kernelv_get_api_version()

Prototype

KERNELV_RETURN

GetAPIVersion(out string version);

Description

Reads the API version string.

Parameter

Name

Type

Meaning

version

out string

Transfer parameter in which the version string of the API is returned after successful call.

Return values

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.

ERR_CNC_RET_MEMORY

-4

The return value(s) does/do not fit into the memory provided. The number of required bytes including the terminating zero is returned in the returnSize parameter.