Create Headers in a Text File

Updated Aug 6, 2018

Reported In

Software

  • LabVIEW

Issue Details

I want to add headers for my data which I am saving in the text file.
How can I do that? 

Solution

Headers can be added to a text file by using the Write to Text File VI, as shown in the snippet below:

Description of the code's parts:
  1. The file is created or opened.
  2. The string for the header is configured and written to the text file.
  3. The data is added to the text file.
  4. The file reference is closed.

WAS THIS ARTICLE HELPFUL?

Not Helpful