Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 rating:
 1 out of 5     Rate this Document

How Do I Create Headers in a Text File?

Primary Software: LabVIEW Development Systems>>LabVIEW Base Package
Primary Software Version: 8.0
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>LabVIEW Full Development System

Problem:
How Do I Create Headers in a Text File?

Solution:
First initalize the file you want to add headers to with an Open/Create/Replace.vi then use the attached  "Text File Header.vi" to add a header. Then pass the refnum to another "Write to Text File.vi" where you can add your text.

An example of this can be seen in "Write to Text File_with Headers.vi" attached below.

Related Links:
LabVIEW (8.0) Help: Write to Text File



Attachments:
Text File Header.viTextFile_Header.vi
Write to Text File with Headers.viWrite to Text File With Headers.vi




Report Date: 11/19/2008
Last Updated: 11/26/2008
Document ID: 4RIE7NW8

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit