From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

list all files in a folder.

How to list all the files in a folder?
0 Kudos
Message 1 of 4
(3,083 Views)
Functions Palette --> File I/O --> Advanced File Functions --> List Directory
Message 2 of 4
(3,081 Views)
List Directory is not on my LabVIEW 8.0 palette.  I tried using List Folder, which seems to be the replacement, but if you don't wire the Datalog Type input, it reports an error at runtime.  Datalog Type is supposed to be an optional input.  The files I am looking for are not datalog files - they are JPG files.  How can I get my file list?
0 Kudos
Message 3 of 4
(2,943 Views)
Dummy me... Didn't strip the VI name from the Current VI's Path.  All is well...
0 Kudos
Message 4 of 4
(2,941 Views)