LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

label data columns in measurement file

I am writing a program that will allow me to collect data using two different power supplies (to collect voltages from two different sources) and then record them using the "write to measurement file" in LabView.  My program runs successfully, but when I open the notepad where the data has been stored, the titles for the columns of data are: "x_value", "Voltage0", "x_value", "Voltage1", and "comment" (so there are 5 headings altogether).  Is there a way that I can rename these headings?  There are 4 columns of data--two of the columns are for the time as I am collecting the data and two columns are for the voltages.  I would like to rename the "x_value" headings as "time" and rename the "Voltage0" as "Cold Cell Temperature" and rename the "Voltage1" as "White Cell Temperature".  I would also like to eliminate the "comment" heading altogether.  How do I do this?
0 Kudos
Message 1 of 2
(3,003 Views)

Take a look at this old thread http://forums.ni.com/ni/board/message?board.id=170&message.id=204407&query.id=49611. It explains how to rename the column headers.

The Comment field is hard coded in the express vi. You can get to it if you right click the express vi and select Open Front Panel. It will convert the express vi into labview. You can then manipulate the code to remove comment field if you really, really wanted.

I am always told to "comment" my code so I would leave the comment field alone but I will leave that up to you.

Hope this helps...

David

0 Kudos
Message 2 of 2
(2,998 Views)