To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example demonstrates how to generate a file directory with the tree structure.
Description
The recursive VI creates a folder for the each item at the current level in the tree, searches each item for children, and calls itself if any children are found. It returns when there are no more items at that level.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**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.