LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Any way to read the save date of a text file?

I'm trying to do a database update based on a .txt file, but only want to do the update if the text file as been populated with new data.  Is there any way to find out programatically what the save date of a .txt file is?

 

 

I looked through the VIs and propertie/invoke nodes as thouroughly as possible, without any luck.  I plan to automate this db update tasks so it is completely hands off.  If anyone has any other ideas, I'm open to those also.

 

AP

0 Kudos
Message 1 of 3
(2,035 Views)

Simply use the "File/Directory Info" VI. It is under teh additional VIs folder in the File I/O pallate. It provides the date of the last modification.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 3
(2,029 Views)

File/Directory Info returns the date/time of the last mod.

0 Kudos
Message 3 of 3
(2,028 Views)