Table Of Contents

Read Image and Vision Information (G Dataflow)

Last Modified: March 26, 2019

Reads an image file, including any extra vision information saved with the image.

This includes overlay information, pattern matching template information, calibration information, and custom data as written by the Write Image And Vision Information File node.

connector_pane_image
datatype_icon

image in

Reference to the image structure to which the data from the image file is applied.

datatype_icon

file path

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

datatype_icon

load color palette

Parameter that determines whether to load the color table present in the file, if the color table exists.

If loaded, this table is read and returned by the output color palette.

True Loads the color table in the file.
False Does not load the color table in the file, or the color table does not exist.

Default: False

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

use file path image type

Use the image type specified by the file path.

True Uses the image type in the file path.
False Do not use the image type in the file path.

Default: False

datatype_icon

image out

Reference to image in.

datatype_icon

color palette

Array of clusters composed of 256 elements for each of the three color planes.

A specific color is the result of applying a value between 0 and 255 for each of the three color planes (red, green, and blue). If the three planes have an identical value, a gray level is obtained (0 specifies black and 255 specifies white).

datatype_icon

Red

Value of the red color plane.

datatype_icon

Green

Value of the green color plane.

datatype_icon

Blue

Value of the blue color plane.

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