LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I filter files in a requester?

  I know how to open a file requester (say, for reading CSV files) and I know how to filter the filenames listed in a folder, but I am having problems doing both at the same time.

 

  My application analyzes the contents of a CSV file (saved with a ".txt' suffix), but there are other file types in the same folder, and even other files with a '.txt' suffix that I do not want to be listed for selection.

 

  I could write a subVI that places the filtered filenames in a List, waits for one to be selected, determines which one was selected and creates a path that is then used to open the selected file, but it really shouldn't be that involved for a programming environment that has been around for a couple decades, right?

 

  The Help files haven't been that helpful and my two textbooks don't address the topic at all, so I'm hoping someone here knows how simple it is to do.

 

 

Thanks in advance,

 

Jeff

 

 

0 Kudos
Message 1 of 4
(2,367 Views)

  Never mind.  I figured out how to do it (the File Dialog VI).

 

  Now I just have to figure out how to delete posts.  Smiley Wink

 

Jeff

 

0 Kudos
Message 2 of 4
(2,359 Views)

Is there an alternative method to File Dialog box?

0 Kudos
Message 3 of 4
(2,321 Views)

  Such as?

 

  I didn't do any more research after I figured out how to do what I wanted (which was the File Requestor dialog).

 

Jeff

 

0 Kudos
Message 4 of 4
(2,316 Views)