Example Code

Add Current Date to File Path SubVI

Code and Documents

Attachment

Overview:
Demonstrate how to add the date to a base path.

 

Description:

This Vi gets the date and time string and appends it to the name of the file. In this code we create an Excel file Path with the date.


Requirements:
LabVIEW 2012 (or compatible).

 

Steps to Implement or Execute Code:
1. Select the path where you want to save the file.
2. Run the VI.

 

Additional Information or Reference:

Add Date to File path - LV 2012 NI Verified.png

"**This document has been updated to meet the current required format for the NI Code Exchange.**".

Adam
Academic Product Manager
National Intruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.