To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example shows how to add some useful header information to a text file, when the file is first created. The application proceeds to stream all test data to the file.
This VI is useful because creates a header with some common test information. The header information produced by this example includes (Start Date | Start Time | Sample Rate and delta T (time between samples).
Description
The VI Main uses 4 instances of subVI Format File Property, this subVI is formatting a File Property Name and a File Property Value.
Then using File IO API VIs to Open the File, Write the Header for that File and Write the Simulated Signal (from Simulated Signal VI Express). on it.
Requirements
LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
Additional Information or References
**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.