kernelv_ch_set_techno_func_user_ackn()

Prototype

KERNELV_RETURN (int)

ch_set_techno_func_user_ackn(vnck: ctypes.CDLL,

chan_index: int,

techno_type: int,

techno_number: int);

Description

Deactivates automatic acknowledgement when execution time simulation is active after expiry of the execution time set. The user must acknowledge the technology function by calling one of the functions kernelv_ch_ackn_techno_func() or kernelv_ax_ackn_techno_func().

User acknowledgement is only possible if execution time simulation is active.

Parameter

Name

Type

Meaning

vnck

ctypes.CDLL

Instance of the loaded KernelV DLL.

chan_index

int (unsigned)

Channel index.

techno_type

int (signed)

Type of technology function to be acknowledged by the user.

techno_number

int (unsigned)

Number of the technology function.

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_INTERNAL_ERROR

-11

An internal error has occurred in the DLL. The value could not be written.

ERR_INVALID_TECHNO_
PARAM

-16

An invalid parameter was transferred when user acknowledgement was activated, e.g. transferred number of the M or H function is higher than the maximum permitted number.

ERR_UNKNOWN_TECHNO_TYPE

-15

An invalid type was specified for a technology function when the user acknowledgement was activated.