LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the column-header of a measurement file?

Whenever I use the "Write to Measurement File" express VI, LV creates an text file with extension  .LVM whose column-header looks like this:

X_Value    Untitled    Untitled 1    Untitled 2    Untitled 3    Comment
0.000000    0.000000    1.000000    0.000000    0.000000
0.000000    0.000000    1.000000    0.000000    0.000000
1.015625    0.000000    1.000000    0.000000    0.000000
.
.
.
. (etc)...

How can I make it save more meaningful column-headers, instead of "Untitled", "Untitled 1", etc....?

The configuration screen of the express Vi is attached for reference....


Thanks!
0 Kudos
Message 1 of 6
(3,186 Views)

Hi emerino,

i think if you change the name of your signal, then the Header in your lvm file will change to the same name.

Mike



Message Edited by MikeS81 on 02-21-2008 03:25 PM
0 Kudos
Message 2 of 6
(3,175 Views)

How do I change the name of the signal?
0 Kudos
Message 3 of 6
(3,163 Views)
Hi emerino,
where do you get your data from? With the DAQ Assistent it is the channel name, with a simulated signal you can change the name button right.
Mike
0 Kudos
Message 4 of 6
(3,140 Views)
You can set the signal names by using Set Waveform Attribute.  On each of your signals, set an attribute whose name is "NI_ChannelName" and whose value is a string containing the signal name.  If you need more help, check out this post.
Message 5 of 6
(3,134 Views)
Yes, I do use the DAQ Assistant to collect data from 2 channels, but then, before writing to the meas. file, I "split the signal" and based on the reading and some input data (from the user), I later use the "merge signals" to add the extra data and end up with 3 more columns (so total 5 columns....or 6 if you count the time)

(see attached file)
0 Kudos
Message 6 of 6
(3,099 Views)