kernelv_ch_get_kin_trafo_active()

Prototype

KERNELV_RETURN

 

kernelv_ch_get_kin_trafo_active(unsigned long int chanIndex,
                                                   unsigned char *active);

 

Description

Returns whether a coordinate system is active in the specified channel or not.

Parameter

Name

Type

Meaning

chanIndex

unsigned long

Channel index of the channel.

active

unsigned char*

Pointer to the memory area for return values.

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.