Table Of Contents

Read Classifier File (G Dataflow)

Last Modified: June 25, 2019

Reads a classifier session from the file specified by classifier file path.

connector_pane_image
datatype_icon

classifier session in

Reference to the classifier session on which the node operates.

This input is optional only when read options is set to read all.

datatype_icon

classifier file path

Path name, including drive, directory, and filename, of the file to read.

datatype_icon

read options

Input that specifies what to read from classifier session in.

Name Value Description
read all 0

Restores the session to its state when it was saved.

add samples, do not change options 1

Keeps the properties of the passed-in session, and appends samples of the file to the current session. If classifier session in is not connected, a new session of the same type as the session read from file is connected.

read options, do not add samples 2

Copies the properties of the saved session without changing the samples of the passed-in session . If classifier session in is not connected, a new session of the same type as the session read from file is connected.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

classifier session out

Reference to the classifier session.

datatype_icon

classifier type

Type of classifier session read from file.

datatype_icon

engine type

Type of classification engine associated with classifier session in.

datatype_icon

description

User-provided description of the classifier session.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics