Table Of Contents

Load Image Dialog (G Dataflow)

Last Modified: October 24, 2017

Displays a dialog box with which you can specify a path or paths to images.

This dialog box provides a preview of the image files selected and defaults to showing only supported image types.

connector_pane_image
datatype_icon

button label

Label that displays on the OK button in the file dialog box.

If the value of this parameter is longer than the width of the button, the file dialog box does not display the entire label. In an English version of Windows, the button is approximately 11 characters wide.

datatype_icon

prompt

Custom message that appears in the title bar of the dialog box.

Default: Open

datatype_icon

start path

Path to the directory whose contents the software initially displays in the dialog box.

If this parameter is invalid or unwired, the last directory viewed in a file dialog box appears in the dialog box.

datatype_icon

select multiple files

Parameter that determines whether multiple files can be selected in the dialog box.

True Multiple files can be selected in the dialog box.
False Multiple files cannot be selected in the dialog box.

Default: False

datatype_icon

default name

Name you want to appear as the initial file or directory name in the dialog box.

The default is an empty string.

datatype_icon

pattern

Parameter that restricts the files displayed in the dialog box to those whose name matches the pattern.

This parameter does not restrict the directories displayed. The pattern matching in this node is similar to the matching used when matching wildcards in Windows filenames. If you specify characters other than the question mark character (?) or the asterisk character (*), the node displays only files or directories that contain those characters. You can use the question mark character (?) to match any single character. You can use the asterisk character (*) to match any sequence of one or more characters.

For example, a pattern of *.png;test*.bmp returns matches for any file with a .png extension and any file whose filename begins with test and has an .bmp extension.

To match multiple patterns, use a semicolon ( ; ) to separate the patterns. White space—such as blanks, tabs, and carriage returns—are taken literally. Avoid using white spaces unless they are part of the extension pattern. For example, if you use *.jpg;*.tif, the dialog box displays all files that end with .jpg and .tif. If you use *.jpg; *.tif, the dialog box displays only files that end with .jpg.

datatype_icon

pattern label

Label that displays in the file dialog box next to the custom pattern.

If you do not wire a string to this input, the default label next to any custom pattern is Custom Filter. If you do not wire a string to pattern, the software ignores this input.

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

selected path

Path to the file selected using this dialog box, if multiSelect is set to FALSE.

datatype_icon

selected paths

Path to the files selected using this dialog box, if multiSelect is set to TRUE.

datatype_icon

cancelled?

Parameter that returns TRUE if you cancel the dialog box or if an error occurs during the execution of the dialog box.

True Confirms the dialog box was cancelled or that an error occurred during execution.
False Confirms the dialog box was not cancelled or that an error did not occur.
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