ReadClassifierFile Method

NI Vision for Visual Basic

ReadClassifierFile Method

Syntax

CWIMAQVision.ReadClassifierFile Classifier, Path, ReadMode [, Description]

Return Type

Long

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

Purpose

Reads a classifier from file.

Parameters

Classifier As CWIMAQClassifier

The classifier to read the data into.

Path As String

The name of the file.

ReadMode As CWIMAQReadClassifierFileModes

The mode in which to read the classifier file.

Description As Variant

[Optional] On return, the description of the classifier session that was read.

See Also

WriteClassifierFile