kernelv_ch_set_cont_visu_grid()
Prototype
KERNELV_RETURN (int) | ch_set_cont_visu_grid(vnck: ctypes.CDLL, chan_index: int, visu_grid: int); |
Description
Sets the output grid for linear blocks for command contour visualisation.
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. |
visu_grid | int (unsigned) | Output grid for linear blocks in 0.1 um. |
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. |