Start

kernelv_startup()

The simulation CNC is started by calling the API function kernelv_startup(). Call parameters are the cycle time in microseconds and the number of axes and channels.

The function returns the value RET_FINISHED if the start of the simulation CNC was successful, otherwise an error code is displayed.

Only one instance of the simulation CNC can ever run on the same computer at the same time. The error code ERR_DOUBLE_KERNEL is returned whenever the kernelv_startup() function is called while an instance of the simulation CNC is still running.

A valid license is also required to use the simulation CNC. If no valid license is found when the simulation CNC is started, the start of the simulation CNC is cancelled and the error code ERR_NO_LICENSE is returned.