INcModel::CheckExecutionStatus

Description

Checks the status of all NC procedures in the active NC Setup and creates a log file in the Data Dir directory called NcExecuteApiLog.log.

For every NC procedure, CheckExecutionStatus outputs a line in the file about its status. The line contains the procedure index and the toolpath index and is prefixed by "Error" in case of a procedure that is not executed, and by "Warning" in case of a procedure that is executed but does not have any and motions.

Syntax

CheckExecutionStatus (oResult)

Output: oResult

0 = All procedures OK.
1 = At least one of the procedures is not executed.
2 = At least one of the procedures is without motions.
3 = Failed to create a log file.

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.