WriteClassifierFile Method

NI Vision for Visual Basic

WriteClassifierFile Method

Syntax

CWIMAQVision.WriteClassifierFile Classifier, Path, WriteMode [, Description]

Return Type

Long

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

Purpose

Writes a classifier to a file.

Parameters

Classifier As CWIMAQClassifier

The classifier to write to file.

Path As String

The name of the file.

WriteMode As CWIMAQWriteClassifierFileModes

The mode in which to write the classifier.

Description As Variant

[Optional] A description of the classifier. This is limited to 255 characters.

See Also

ReadClassifierFile