GradeDataMatrixBarcodeAIM Method

NI Vision for Visual Basic

GradeDataMatrixBarcodeAIM Method

Syntax

CWIMAQVision.GradeDataMatrixBarcodeAIM SourceImage, AIMGradeReport

Return Type

Long

On success, this method returns 0. On failure, this method returns a negative number.

Purpose

Grades a Data Matrix barcode using the AIM Print Quality metrics (included in the ISO 16022 specification).

Remarks

Use this method with U8 images.

Parameters

SourceImage As CWIMAQImage

The image containing the Data Matrix barcode to grade. You must first prepare this image for grading using CWIMAQVision.ReadDataMatrixBarcode2.

AIMGradeReport As CWIMAQAIMGradeReport

On return, the AIM standard grades for the Data Matrix barcode and the raw scores used to derive the grades. If a Data Matrix barcode can not be located by CWIMAQVision.ReadDataMatrixBarcode2, the method will assign the barcode cwimaqAIMGradeF for all grades and 0 for all raw scores.

See Also

CWIMAQVision.ReadDataMatrixBarcode2