LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"next file" select in path box

Hi, I'm writing a VI that will, amongst other things, read data from a text file stored on my computer and display the information therein on a graph. I have many data files stored in one folder and instead of pressing browse and selecting the next folder over and again I'd like a button that will automatically select the next file in the folder with one click. What is the best way to do this? I have attached my VI so far

 

any help would be much appreciated

philip

0 Kudos
Message 1 of 2
(1,887 Views)

Hi philip,

 

in the file palette you will find a function named "List folder". That way you get all the files in the selected folder and can so use a loop to iterate over all the files. You may even apply a filename pattern...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(1,886 Views)