kernelv_diagnosis_upload()

Prototype

KERNELV_RETURN

kernelv_diagnosis_upload(char* filename);

Description

Starts uploading the internal diagnosis data of the DLL and writes it to the file with the name filename. If no filename is specified, the data is saved to diag_data.txt. If filename contains no path, the file is written to the current path.

Parameter

Name

Type

Meaning

Filename

char*

Name of the file to which data is written.

Return values

Symbol

Value

Meaning

RET_FINISHED

0

The upload is finished.

ERR_CNC_NOT_INIT

-3

The simulation CNC kernel was not yet initialised.