kernelv_ch_ackn_techno_func()
Prototype
KERNELV_RETURN (int) | ch_ackn_techno_func(vnck: ctypes.CDLL, chan_index: int, techno_type: int, techno_number: int) |
Description
Acknowledges a technology function for which the user acknowledgement was activated.
If the specified technology function is not open (acknowledgement pending), the return value ERR_TECHNO_NOT_FOUND is returned, otherwise RET_FINISHED.
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. |
techno_number | int (unsigned) | Number of the technology function. |
Return values
Symbol | Value | Meaning |
RET_FINISHED | 0 | The technology function was acknowledged. |
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. |
ERR_TECHNO_NOT_ | -29 | The specified technology function was not found. |