Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66626

Read all the files in a folder over and over again

$
0
0

I want to develop an application that reads all the files in a folder, and once its done reading those files it reads all the files again.

The purpose for this application is to read all the files in a folder that are continuously being stored in that folder, so that when a new file is created, that file is also read by the application. I then need to compare the date and time in which the file was created to the actual date and time of the system, so that way I can get the most recent file, and then  I will do other operations with this file.

The thing is that I know how to read all the files in a directory, but I don't know how to cycle through those files again, in order to look for the most recent one, and I don't know how to make the comparison of the time stamps, because I need a precision of one second in the system time and the time the file was created.

Can someone please help me?

Thanks in advance!


Viewing all articles
Browse latest Browse all 66626

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>