ProcUnit::GetUnitJudge
Gets the judgement value of the processing unit
Parameters
None.
Return Value
Returns the judgement result of the relevant processing unit. The following values are returned.
Table: ProcUnit::GetUnitJudge - Return Value
Judgement result value
|
Description
|
0 (JUDGE_NC)
|
No judgement (unmeasured)
|
1 (JUDGE_OK)
|
Judgement result OK
|
-1 (JUDGE_NG)
|
Judgement result NG
|
-10 (JUDGE_IMAGEERROR)
|
Judgement result error (image format mismatch)
|
-11 (JUDGE_MODELERROR)
|
Judgement result error (unregistered model)
|
-12 (JUDGE_MEMORYERROR)
|
Judgement result error (insufficient memory)
|
-20 (JUDGE_ERROR)
|
Judgement result error (other errors)
|
Description
Gets the judgement result of the relevant processing item.
Example
int Sample::MeasureDispT(ProcUnit *ptrProcUnit, int subNo, TextWindow *ptrTextWindow)
{
int judge;
// Get the judgement result
judge = ptrProcUnit->GetUnitJudge();
// Display the judgement result
}