List Folder Function Returns Empty Array of Filenames in LabVIEW

Updated Feb 8, 2024

Reported In

Software

  • LabVIEW

Issue Details

I am using a List Folder function in LabVIEW to get the folder names and filenames in a specific directory. 
However, I could not see any files in the array indicator even though the files are visible in the directory.
Issue.PNG
 

Solution

The array of filenames was returned empty because of the DataLog Type input in the List Folder function. 
Error1.PNG
The datalog type restricts the filenames to only datalog files containing records of the specified data type in the array.
All the files in the directory will be shown in the array indicator once the datalog type input is removed from List Folder function.
Correct.PNG