Table Of Contents

Recursive File List (G Dataflow)

Version:
Last Modified: October 2, 2017

Searches a folder recursively and lists the contents of the folder.

connector_pane_image
datatype_icon

folder

Path to the folder whose contents you want this node to return.

datatype_icon

continue recursing on error

A Boolean value that specifies whether to continue recursing directories if an error occurs. If multiple errors occur while recursing, this node determines whether to continue recursing based on the first error that occurs.

True This node continues recursing directory contents after the error occurs.
False This node stops recursing directory contents when the error occurs.

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

pattern

Pattern for which you want to search the files in the specified directory. Use regular expression special characters to specify the pattern.

Definitions of Special Characters

The pattern matching used by this node is similar to the matching used in matching wildcards. A wildcard is a keyboard character such as an asterisk (*) or a question mark (?) that you can use in place of one or more characters when you search for files. Use wildcards in place of one or more characters when you do not know what the real character is or you do not want to type the entire name.

Characters behave as described in the following table.

Character Meaning Example
? Matches any single character. If you enter multi?.doc, this node locates the file multi1.doc or multis.doc but not multiply.doc.
* Matches any sequence of zero or more characters. If you enter *.html;*.doc, this node locates all files with the extensions .doc or .html.
; Separates patterns, allowing you to specify multiple allowable patterns. Do not insert whitespace following this character because this node interprets whitespace literally. If you enter multi.doc;multiply.doc this node locates both the file multi.doc and multiply.doc.
All other characters, including white space Matches the exact character. If you enter multi.doc, this node only locates the file multi.doc.
datatype_icon

folders to exclude

Folder names you want to exclude during the recursion. Any folder you exclude does not appear in the all folders output. This input is case insensitive.

datatype_icon

all folders

A list of all subfolders and shortcuts to folders in the folder input.

datatype_icon

all files in folder

A list of all files in the specified folder path. The list also includes shortcuts to files.

datatype_icon

number of files

Number of files in the all files in folder array.

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: This product does not support FPGA devices

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


Recently Viewed Topics