To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example VI enables files to include the date and time in its filename.
Description
When logging lots of sets of data in LabVIEW, we often want to distinguish what each set of data represents. One way to do this, is to set the filename to match the current date/time so this simple VI does just that. All the user has to do is locate the folder that they want to save their new file to, then it will create a text file with the name Date Month Year Hour-Min-Sec.txt using some simple string manipulation.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Hi Tori,
i am starting to use myRIO for my application and encounter some issues while saving file to USB via myRIO.
my purpose is to grab image every 5 sec and give a file name as current time/date.
myrio execute single time w/o while loop and save files successfully, somehow it runs under whileloop for every 5 sec, it cannot save image.....
not sure how it goes right...
kindly be advised and thank you very much!
btw, i have no idea of attaching VI into this dialog....