05-23-2011 02:48 PM
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
05-23-2011 02:59 PM
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.
05-23-2011 03:01 PM
File/Directory Info returns the date/time of the last mod.