LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding headers to Write LABView Measurement File

Hi.
 
I am new to LabView and I need help with the Write LABView Measurement File. I am using LABView 7.1. We are collecting temperature readings from several channels. One temperature channel needs to stay within a certain setpoint and it is controlled by a PID Loop to stay within range. I am trying to write all of this data to a file with the time of each sample. So, I need 3 channels, desired setpoint, P, I, D, frequency, and duty cycle to be written into a file as each sample is taken. I am using the Write LABView Measurement File function and I get the table in a spreadsheet fashion, but now I am not sure how to add the header information for each column of data. Right now it has X1 (?) on top of each column. How do I get this information into one file using as few steps as possible.
 
Thanks,
Marie7
0 Kudos
Message 1 of 2
(2,906 Views)
By default, the column headers are the names of the channels fed into it.  I believe that if you do not define a channel name, you will get what you are getting.  You can either define the channel names at the point where you are obtaining the data in dynamic format, or you can change the name of the channel after it is already dynamic data.  I have attached a VI that will do that (7.1)

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