kernelv_get_channel_count()
Prototype
KERNELV_RETURN | GetChannelCount(out uint channelCount); |
Description
Reads the number of configured channels of the CNC control.
An error code is returned if the function is called while the CNC kernel has not yet started.
Parameter
Name | Type | Meaning |
channelCount | out uint | Contains the number of channels after successful call. |
Return values
Symbol | Value | Meaning |
RET_FINISHED | 0 | The function was executed without error. |
ERR_CNC_NOT_INIT | -3 | The simulation CNC kernel was not yet initialised. |