11-22-2011 01:17 AM
Hi, everyone.
I would like to know how to get the filename of the latest modified or latest created one from the selected directory.
I think there is no labview function to do so.
Any beneficial information is appreciated.
Thanks in advance.
Version: LV2010 64bit
PC: Win7
Solved! Go to Solution.
11-22-2011 01:53 AM - edited 11-22-2011 01:54 AM
Hi mwu,
You can look at this example as it does almost what you want to do:
Find Most Recent Folder in a Folder of Files
https://decibel.ni.com/content/docs/DOC-10765
It gets the last created subfolder in a folder. To get it scan for the most recent file you have to use the output "File Name" of the "List Folder" vi.
You cna find the modified VI attached or modify it yourself.
Regards
11-22-2011 05:56 AM
Dear Florian Abry,
Thank you for your quick reply.
Your suggestion completely soleved my problem!!
I appreciate your kindness!
Sincerely,
mwu_io