Example Code

Add Headers to Write to Measurement File

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

This example code shows how to add headers to the Write to Measurement File when the data type is not a waveform.


Description

This example code shows how to add headers to the Write to Measurement File when the data type is not a waveform.


Requirements

LabVIEW 2012 (or compatible)


Steps to Implement or Execute

  1. Run the code.

Additional Information or References:

 

Add Headers to Write to Measurement File sn.png

 

No front panel actually.


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

 

Stephanie A.
Americas Marketing Manager
National Instruments

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

Comments
Bill_in_Detroit
Member
Member
on

One of the aspects of the "Write to Measurement File.vi" I love and I hate is the ability to save a default path and filename within the vi.  I love it because it makes it easy to make sure the file is always saved in a known location.  I hate it because it will create the entire path to that location and save the file there without at least the courtesy of popping up an error dialog or permission box.  This example as currently posted by the author saves the file to "C:\Documents and Settings\sorci\Desktop\test.lvm".

GCentral