How to Search Filenames by Using Keyword in LabVIEW

Updated Aug 17, 2023

Reported In


  • LabVIEW

Issue Details

I am using List Folder Function in order to find files from a folder in LabVIEW. However, I only want to find specific files that match certain keyword.

How can I implement the above behavior?


You can search files based on keyword by connecting string constant/control with asteric character (*) to the "pattern" node of List Folder Function. If the filenames match the keyword or contain those characters, they will be displayed in LabVIEW.

Figure 1: VI Snippet

Figure 2: Filenames that match the keyword