05-16-2014 09:58 AM
hi,there,i don't know how to read the file time inlabview, anyone who knows,please help ne,thanks !
Solved! Go to Solution.
05-16-2014 10:15 AM - edited 05-16-2014 10:15 AM
Are you looking for the Windows file creation date, or the last modification date (which can be earlier than the creation date ) ?
If the last modification date is ok, then just use the File I/O->Adv File Functions->File/Directory Info node.
Otherwise you need to download the OpenG File package with the VIPM. In there is a function that also returns the creation date for a file as shown in the file properties dialog for that file.
05-16-2014 10:15 AM
I would use "File Info.vi" available from the OpenG toolkit.
"There is a large rabbit hole opening at your feet Allice"-C.L. Dodgeson
05-16-2014 11:04 AM
In addition to Creation Time, the attached VI also provides Last Access and they are returned as native timestamp controls, where the OpenG while providing more information, returns the data as a U32. It needs OpenG Error but that can be removed.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-16-2014 01:05 PM
05-16-2014 07:51 PM
thanks everyone !