kernelv_get_cnc_version()

Prototype

KERNELV_RETURN

GetCNCVersion(out string version);

Description

Reads the CNC version string.

Parameter

Name

Type

Meaning

version

out string

Transfer parameter in which the version string of the CNC is returned is successfully called.

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.