kernelv_ax_get_ext_latch_command()

Prototype

KERNELV_RETURN

 

kernelv_ch_get_active_kin_id(unsigned long int axIndex,
                KERNELV_EXT_LATCH_COMMAND_DATA *data);

 

Description

Returns the content of the command interface for the external measuring hardware to the structure KERNELV_EXT_LATCH_COMMAND_DATA.

Parameter

Name

Type

Meaning

axIndex

unsigned long

Index of the axis.

data

KERNELV_EXT_LATCH_COMMAND_DATA *

Pointer to the structure of type KERNELV_EXT_LATCH_COMMAND_DATA to return the value.

Return values

Symbol

Value

Meaning

RET_FINISHED

0

The function was executed without error.

REST_BUSY

1

The function is currently being executed, but has not yet been completed. The API function must continue to be called.

ERR_INVALID_AX

-9

The transferred axis index is higher than the number of configured axes –1

ERR_CNC_NOT_INIT

-3

The simulation CNC kernel was not yet initialised.