Example Code

Find file from file type including sub-folder with LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

This code finds file from file type including sub-folder.

 

Description

The special thing about this example is that it can find a file inside sub-folder also. It will return an array of file paths.

 

Requirements

  • LabVIEW 2012 SP1 (or compatible)

 

Additional Information or References
Block Diagram 

*Please note that you may find vi freeze problem, if folder structure is very complex.

 

 image.png

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.