kernelv_ch_set_cont_visu_abs_curvature_error()

Prototype

KERNELV_RETURN

ch_set_cont_visu_abs_curvature_error(vnck: ctypes.CDLL, chan_index: int,

abs_err: int);

Description

Sets the absolute curvature error of the command contour visualisation for curved contours (circle segments and polynomials).

The absolute curvature error indicates the permitted secant error for tracing the curved contour.

The effective secant error to trace a contour element is determined by the minimum value between the absolute and relative secant errors.

Parameter

Name

Type

Meaning

vnck

ctypes.CDLL

Instance of the loaded KernelV DLL.

chan_index

int (unsigned)

Channel index of the channel from which the variable is to be read.

abs_err

int (unsigned)

Absolute curvature error in 0.1 µm.

Return values

Symbol

Value

Meaning

RET_FINISHED

0

The function was executed without error.

ERR_INVALID_CHAN

-1

The transferred channel index is higher than the number of configured channels -1.

ERR_CNC_NOT_INIT

-3

The simulation CNC kernel was not yet initialised.